A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: can't target parent movie clip

  1. #1
    Senior Member
    Join Date
    Sep 2006
    Posts
    125

    can't target parent movie clip

    Dear All



    I have a swf which contains a main menu bar along the top which has been added dynamically at run time. ALl the controls for this bar live inside btnHold



    One of these buttons loads in a new swf. There is a button within this second swf that I want to use to control the main menu bar in the top layer (I want to make it invisible for a time, or get its layer and then ensure that its not too high etc etc)



    However, I just can't work out how to target this btnHold from within the newly loaded swf



    ANy pointers greatfully received!



    thanks



    E

  2. #2
    Senior Member Robb@exo's Avatar
    Join Date
    Jun 2003
    Location
    Canada
    Posts
    1,540
    What version of AS are you using? Either way, have you tried incorporating the _parent / parent method. If not, that's where I would start. HTH.
    Wile E. Coyote - "Clear as mud?"

  3. #3
    Senior Member
    Join Date
    Sep 2006
    Posts
    125
    thanks for the reply
    have looked into your suggestion, and by shots, I got it to work!

    E

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