#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    1
    Rep Power
    0

    Help with Flash Looping


    Hi everyone, please help me on this little question that im facing now.
    I have a 240 frames file and need it to loop 3 times but on the third time, i need it to stop at frame 220.

    Here is the script i am using (i know it is not right if i need it to stop at 220);

    if(!loopCount) {
    var loopCount:Number = 0;
    }

    loopCount++;
    if (loopCount>=3) {
    _root.gotoAndStop(241);
    } else{
    gotoAndPlay(1);
    }

    trace(loopCount);


    Can anyone please help me with this?
    THANK YOU!!!!!!
  2. #2
  3. No Profile Picture
    Gotta get to the next screen..
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2003
    Location
    Legion of Dynamic Discord
    Posts
    6,678
    Rep Power
    3165
    Well what is the problem you are having?
    Quis custodiet ipsos custodes?

IMN logo majestic logo threadwatch logo seochat tools logo