A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 6 of 6

Thread: tell targets

  1. #1
    Junior Member
    Join Date
    Oct 2000
    Posts
    18

    Unhappy

    ok
    I have a main scene called "main" with actions on different frames where the timeline stops and plays a movie clip.not with a tell target, the movie clip is sitting on that frame.
    now when that mc finishes playing i want it to go to a certain frame on the main timeline.Ive tried to put an action on the last frame of the movie clip that goes

    gotoAndPlay ("main", "whatis1");
    but this does not seem to work, instead the main timeline just keeps looping the mc on that frame.
    please help my ideas are exhausted.


  2. #2
    Senior Member
    Join Date
    Sep 2000
    Posts
    390
    does this work?
    _parent.gotoAndPlay("whatis1");

    -g

  3. #3
    you have to tell your action to basically "back out" of the movie clip and go to the base level. I don't know, "_parent" might work too, flash also understands "_root" as the base level. I had to do this recently, I threw in your "whatis1" frame label below. hope it works


    tellTarget ("_root") {
    gotoAndStop ("whatis1");
    }


    what tipped me off was clicking "absolute" instead of "relative" for tell targetting

  4. #4
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    Tell Target is deprecated in F5 in favor of dot syntax...

    So use:

    _root.gotoAndStop("whatis1");

    K.

  5. #5
    dolface had it...

    _root.gotoAndPlay("whatis1");

    _parent should work as well, but if both of these don't try this:

    _level0.gotoAndPlay("whatis1");

    (or whatever level this is on)...

    ciao
    donnyboy

  6. #6
    Junior Member
    Join Date
    Oct 2000
    Posts
    18

    thanks

    thank for the quick response from everyone the _root
    and _parent work thanks again

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