A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: animated movie symbol script not responding correctly

  1. #1
    Member
    Join Date
    Oct 2001
    Posts
    77

    animated movie symbol script not responding correctly

    I am having a problem with Flash MX that I didn't have with 5.0 When I script the last frame of an animated symbol to go back to a "scene" and play a certain frame, it keeps wanting to go back to it's own timeline and play that frame. When I turn on buttons and frame actions it responds correctly, but not when I publish and play the projector? Any ideas

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    From movie clips (and that was the same in Flash 5!), scene names are useless, and you must add _root or _level0 (from movies loaded on other levels), to your path.

    Thus label the frame you're targeting with an unique label such as unique or whatever, and target that labeled frame:

    _root.gotoAndPlay("unique");

  3. #3
    Member
    Join Date
    Oct 2001
    Posts
    77
    Thanks old newbie, I will try that tomorrow at work. I am not doing movie levels, I am talking about moving around in the same project file. But let me see if that works.
    Thanks!

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