A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 3 of 3

Thread: Please help !

  1. #1
    Junior Member
    Join Date
    Sep 2004
    Posts
    20

    Please help !

    Please download this file and tell me what is wrong. I think the problem is in frame 16 of the movie clip gguy (the black circle on the stage). I have an actionscript on the frame telling it to go to and play frame 58 if the dynamic text box with a varible name of bad health is 0 or less than 0. It is supposed to go to and play frame one if it is greater than 0. Please download and tell me what is wrong with it. This is the actionscript I have on the frame.

    if (badhealth <= 0) { // health is less than or equal to 0
    _root.bg.gotoAndPlay(1);
    };

    if (badhealth <= 0) { // health is less than or equal to 0
    _root.bg.gotoAndPlay(58);
    };

    Any help is apriciated.
    thanks,
    Chad
    Attached Files

  2. #2
    Senior Member green_eye's Avatar
    Join Date
    Apr 2004
    Location
    Sarasota, Florida
    Posts
    1,496
    if (_root.badhealth <= 0)

  3. #3
    Junior Member
    Join Date
    Sep 2004
    Posts
    20
    Thak you Sooooooooo Much!

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