A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: MC interaction failing

  1. #1
    killerjackaroo
    Join Date
    Aug 2005
    Location
    San Francisco <--the ****
    Posts
    44

    MC interaction failing

    im having problems trying to tell the archer (baddie_mc) to tell his arrow (baddie2_mc) to gotoAndPlay("DIE"), but it just wont work. No error message, no trace of the problem eccept that the arrow is disobeying the script. You see, when the archer dies, he goes to a frame where he is lying on the ground and in which says:

    tellTarget("_parent.baddie2_mc"){
    gotoAndPlay("DIE")
    }

    simple, or too simple?
    thanks for the help.

  2. #2
    Actionscript Developer KigD's Avatar
    Join Date
    Jan 2003
    Location
    georgia
    Posts
    597
    Why do you use tellTarget? Just do:

    Code:
    _parent.baddie2_mc.gotoAndPlay("DIE");
    Make sure that your paths are right, and that baddie2 is indeed parent.
    K2xL - My games, tutorials, message boards, and experiments.
    Blog

  3. #3
    killerjackaroo
    Join Date
    Aug 2005
    Location
    San Francisco <--the ****
    Posts
    44
    still doesn't work.

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