A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: tell target outside of movie clip

  1. #1
    hi,
    i have a button inside a mc, i want it to tell a mc on the main stage to go to a frame. i know how to do the normal tell targetbut not outside the mc.

    do you know how?

    if you dont understand let me know!

    thanx
    Gadgets

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    337
    well, just tellTarget like you always do, but instead of targeting your target as "target" (let's say you called the target 'target'), you should target the object as "_parent.target" to go 1 level up, "_parent._parent.target" to go 2 levels up etc. In your case you can also use "_root.target" since root is the absolute path to your main timeline (actually to the main swf since that is an object too)

    Hope this helps, cuz it should

    LTrZ
    DamnGzM.

  3. #3
    cool man!

    thanks alot
    i got it know

    thanx
    Gadgets

  4. #4
    i just wanted to thank you guys for solving my problem as well... i was totally overlooking the _root. (um, for the past 4 hours...)

    thanks.
    dub

  5. #5
    Senior Member
    Join Date
    Jun 2000
    Posts
    337
    the pleasure is all mine guys



    DamnGzM

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