A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: quick question re: "if"

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    46

    quick question re: "if"

    (forgive the double post, i'm running short on daylight)

    using AS how do i say :

    on(whatEver) {
    if (thisMcIsNotPlaying);
    doSomething;
    }
    else (thisMcIsPlaying);
    FinishPlayingThenDoIt;
    }

    tyia

  2. #2
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    I made this for you.....
    Check the fla.
    It uses variables to determine the rollover and roll out states....
    hope it helps!

  3. #3
    Registered User
    Join Date
    Mar 2004
    Posts
    46

    yay!

    man you're a life-saver. that's exactly what i needed - how do i get the rollout to play when the rollover is finished assuming they rolloff before the rollover is done playing? at the moment, it sticks...

    thanks a ton

  4. #4
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    5. i want it to play over anim completely through, regardless of user interaction (i.e., rolling over again won't restart, rolling out won't cut it short, etc.)
    I thought this is how you wanted it!!

  5. #5
    Registered User
    Join Date
    Mar 2004
    Posts
    46
    Originally posted by hum
    I thought this is how you wanted it!!
    the two posts don't contradict one another... "overanim" plays all the way through, but rolling out will queue "outanim" to start as soon as overanim is all done. but no worries your file was a huge help and i got everything i needed - i appreciate the time you put in, tyvm!

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