Skip to main content
Participant
May 10, 2012
Question

Navigational Banner and A SlideShow Hybrid

  • May 10, 2012
  • 1 reply
  • 784 views

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.

  1. Banner Loads
  2. Waits for the user input (say for 5 seconds)
  3. If no input, then go to scene 2, scene 3, scene 4, scene 5,scene 2, scene 3, scene 4, scene 5... and so on
  4. As soon as a user clicks on it, load scene 1. Wait for a button to be pressed and load a scene accordingly

Please if possible reply today itself, have to submit the project in a couple of hours.

Cheers

- me!

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
May 10, 2012

What is the quick question?

Participant
May 10, 2012

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.

  1. Banner Loads
  2. Waits for the user input (say for 5 seconds)
  3. If no input, then go to scene 2, scene 3, scene 4, scene 5,scene 2, scene 3, scene 4, scene 5... and so on
  4. As soon as a user clicks on it, load scene 1. Wait for a button to be pressed and load a scene accordingly
Ned Murphy
Legend
May 10, 2012

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"