add a closing sequence to clip before other clip loads in

Posted on 2006-05-05
Last Modified: 2010-05-18

my flash site is built up of a main movie (containing the navigation to the main header sections), with seperate .swfs loaded into empty movie clips when called. How could I add a closing sequence to each .swf, so that on release of a button, the closing sequence of the current swf plays, then the movie unloads, and the called swf loads into the empty clip.

Question by:aidan09

    Author Comment


    the same onrelease effect i'm looking for
    LVL 34

    Accepted Solution


    I have done a sample exclusively for you..
    download it here..

    Unzip in a folder,
    play "main.swf", by default; it loads "one.swf", when animation stops, click button "load two.swf"

    on clicking it will first play the closing sequence of "one.swf" and then loads the "two.swf"

    please review the source to see how it have been achieved.


    Author Comment

    thanks aneesh
    i'm not getting mine to work just yet, but will keep trying - this example was pretty much what i was after though!

    thanks again

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
    I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
    In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
    The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now