A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: telltarget (_root) help

  1. #1
    Senior Member
    Join Date
    Aug 2000
    Posts
    169
    hmm when I try to
    Insert Target Path and check absolute
    I get only the _root no other movieclips in the hierarchy

    this is the scenario:

    I have a movieclip in the main timeline in layer1 which contains a button now when I roll over this button I want
    to use the tellTarget(
    to stop a movieclip2 which is in Layer 2 of the main timeline


    Basically I want to use this code in the button....

    on (rollOver) {
    tellTarget (<not set yet> {
    gotoAndStop (1);
    }
    }

    I tried setting the target to be
    _root.movieclip2 (as an expression)
    but it doesn't work....(it says that the target can't be found and YES I do have an instance named exactly how I put it in the tell target)
    can anyone fill me in on what am I doing wrong....
    when I try to Insert Target Path and check ON absolute
    I get only the _root but no other movieclips in the hierarchy show ....????


  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    you've got to give an instance name to the clips you want to target. select the clip on the stage by clicking once on it, open window>panels>instance and write a name for instance (no signs and no spaces) you will then see the instance in your target window.
    gparis

  3. #3
    Senior Member
    Join Date
    Aug 2000
    Posts
    169
    thanx a lot man everything worked out perfectly....

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