#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    1
    Rep Power
    0

    How do I stop running actionscript in the next scene?


    First Post)

    I'm running a school project which involves flash product.
    I have used the slide show from republicofcode . com/tutorials/flash/slideshow/6.php nad everything works fine, but th slideshow is seen on all the scenes, begginin with this scene wheere it only meant to be seen. Can you help me somehow, because I do not really know how to stop this, smth like "stop all actionscript from this scene, when going to the another".

    Plase help me)
  2. #2
  3. No Profile Picture
    Gotta get to the next screen..
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2003
    Location
    Legion of Dynamic Discord
    Posts
    6,675
    Rep Power
    3164
    Hi, there is a lot to read there and I only skimmed it. The aim of the game is to simply remove everything that is created by the slideshow. On the next keyframe/scene, where you want to remove the slideshow, open the ActionScript panel and put this:
    Code:
    // This stops the timer that is used to fade between images.
    clearInterval(myShowInt);
    
    // This removes the container that holds the images.
    _root.myContainer_mc.removeMovieClip();
    
    // This removes the text field that displays the image titles.
    _root.myText_txt.removeTextField();
    Quis custodiet ipsos custodes?

IMN logo majestic logo threadwatch logo seochat tools logo