A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: movie control help

  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    8

    movie control help

    Hi, I have a flash file I'm building with a multiple choice type senerio.

    what happens is I have a movie that play out to a lets say frame 299 then 3 buttons will show up on the stage. now when I press button 1 it will start playing a movie starting on frame 300.

    How can I direct that movie to go back to frame 299 once it is finished playing so I can choose a different button?

    I know I can add another button at the final frame to do that but I'm not sure if I want to go that route.

    thank you.
    Jeff

  2. #2
    Senior Member
    Join Date
    May 2000
    Location
    Bombay, India
    Posts
    926
    on the last frame of your movie clip place this frame action:

    stop();
    _root.gotoAndStop (299)

    hope that helps

    Ideally instead of a frame number, use a frame label.
    RanTen
    Unrepentant Rebel & Boat Rocker
    http://ranten.celltrix.com

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