A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: _root....help

Hybrid View

  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
    but it doesn't work....can anyone fill me in on what am I doing wrong....when I try to Insert Target Path and check absolute I get only the _root but no other movieclips in the hierarchy show ....????

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    485
    have you given your movie clips instance names,
    This may be a long shot, but if you know the code works you should set your actions to advanced and just type the code in

  3. #3
    Senior Member
    Join Date
    May 2001
    Posts
    485
    on (rollOver) {
    _root.movieinstancename.gotoAndStop(1);
    }

    i`m a bit shaky on my flash, havent used it for months but try that

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Posts
    169
    urgh

    that still didn't work...with my code it kept saying that it couldn't find the target...with this code nothing happens...... (

  5. #5
    Senior Member
    Join Date
    May 2001
    Posts
    485
    i would post this problem in the flash 5 actionscript forum

  6. #6
    Senior Member
    Join Date
    Aug 2000
    Posts
    169
    hehehe yea true...thanx....

  7. #7
    Senior Member
    Join Date
    Aug 2000
    Posts
    169
    u were right I didn't name the instances in the first place grrrrrrr.....

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