Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2012
    Posts
    18
    Thanks
    5
    Thanked 1 Time in 1 Post

    how do you make a slide show auto play?

    i dont know AS3 yet but can some one tell me what the code/command or whatever you call it what do i type in to make a slide show auto play

    so far i have a slide show but i gotta click to go to the next slide and i need one thats going to be on the home page, would be nice if it would auto play
    Last edited by lookkool3; 01-23-2012 at 12:46 PM.

  • #2
    New Coder
    Join Date
    Jan 2012
    Location
    Columbus, Ohio, U.S.A
    Posts
    41
    Thanks
    0
    Thanked 8 Times in 8 Posts
    hi, I'm not sure if you're using Flash professional or Flash Builder. What you can do is put them on a timer:


    Code:
    var imageTimer:Timer = new Timer(5000)  //every 5 seconds
    imageTimer.addEventListener(TimerEvent.TIMER, timerHandler);
    imageTimer.start();
    
    
    ...
    
    private function timerHandler(event:TimerEvent):void
    {
          //handle going through your images in here....
    
    }


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •