Copy link to clipboard
Copied
Hi,
I just have a quick question on ActionScript 3.0. I created this banner http://creatiwitty.co.uk/web/iON_Banner.swf. It is an interactive banner where the user clicks on butons to navigate through the information. I have used event listeners for the navigation to work.
I don't want this banner to be limited by user's input i.e if no one clicks on the banner then the banner should start playing the various scenes inside it in a loop. The moment someone clicks on it, i want it to return to the main scene and become a navigational banner again.
Please if possible reply today itself, have to submit the project in a couple of hours.
Cheers
- me!
Copy link to clipboard
Copied
What is the quick question?
Copy link to clipboard
Copied
I want to know how to achieve the below described result.
I don't want this banner to be limited by user's input i.e if no one clicks on the banner then the banner should start playing the various scenes inside it in a loop. The moment someone clicks on it, i want it to return to the main scene and become a navigational banner again.
Copy link to clipboard
Copied
Use the Timer class to deal with waiting/timing matters. The Timer should be set for 5 seconds. Have its event handler function begin the process of playing the different animations. Have it restarted and/or disabled as needed based on user interactions with the banner.
If you have no experience with the Timer class, you will find plenty of help if you Google "AS3 Timer tutorial"
Copy link to clipboard
Copied
Thanks fr ur quick reply. Like u suspected, i am pretty new to actionscript. so if it is possible, could u please give me a sample code to build upon as i do have very limited time. i will google it anyway. thanks again.
Copy link to clipboard
Copied
Search Google and you will find the sample code you ask for. How it will need to be worked into your design is something only you will know enough about to be able to do.