A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Problem with a button inside a movie clip

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    5

    Problem with a button inside a movie clip

    Hey, im a flash n00b!
    I was hoping someone could help me with this problem, which im sure has a simple solution.
    I have a button inside a movie clip symbol.
    when that button is clicked i need to assign an action to it, so it would go and play frame 40, in my animation. BUT, when i assign the action, it obviously goes automatically to the 40th frame INSIDE THE MOVIE CLIP SYMBOL.
    How do i navigate it so it plays the 40th frame in my actual animation, and not inside the movie clip symbol that its sitting in?
    Thank you soo much in advance

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    I assume when you say 'actual animation' you are referring to the MAIN timeline?

    you can use _root (but thats not recommended)

    or you can use:

    _parent._parent (might only need one....havent seen your project however)

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