A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Fighting keeps looping

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    11

    Fighting keeps looping

    I have made a charater in scene one. Then I saved him into into spider_man. In this layer or in this dot symtax. I habe made several others like breath, punch, kick, walk movies. Total of five frames or movies. I went into Punch(lower or dot syntax) were I animated the punch. At the last frame I put this actionscript:
    gotoAndPlay(_parent.spider_main(1));
    He just kept looping until I did another key or like punch.
    I want him to come back to breath(which is in spider_man(the one underneath the stage) and not looping.
    How would do that. Thanks. I have included the fla file.

  2. #2
    just put _parent.gotoAndStop(1); in the last frame of your punch mc.

  3. #3
    Junior Member
    Join Date
    Oct 2004
    Posts
    11

    Thanks.

    thanks for the help. It work. I had that. But I guess kept typing it wrong. Thanks.

  4. #4
    no prob

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