unload movie???
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: unload movie???

  1. #1
    Junior Member
    Join Date
    Dec 2001
    Posts
    3
    ok i wanna put a thing on my flash that says click to end movie then when they click it the movie stops how would i go about doing that thanks

  2. #2
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    Create a button. Assign a script to stop the main timeline or to goto the last frame of it (I don't know what exactly you want).
    on (release) {
    _root.stop();
    }

    or

    on (release) {
    _root.gotoAndStop(x);
    }

    where x is the last frame of your movie.

  3. #3
    Junior Member
    Join Date
    Dec 2001
    Posts
    3
    thanks for the help

  4. #4
    Junior Member
    Join Date
    Dec 2001
    Posts
    3
    hmmm ok now i have another problem i make the button F8 select button and then goto the actions and on is not available ????

  5. #5
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    You have to select the button by clicking it on the stage. U will see the title in the actionscript panel changing from "frame actions" to "object actions". U don't have to place the "on" action. Just place the "goto" and the "on" will be placed automatically.

Posting Permissions

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




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com