dumb flash ques.
- Started
- Last post
- 8 Responses
- harlequino
Maybe it's the retard sandwiches I ate, but I can't remember how to specify how many times a flash movie loops. Is it a simple code tag, or do I need to go looking on FlashKit or something?
Thanks, you're a peach!
- dbloc0
are you talking about an MC
- harlequino0
Yea, either that, or the main timeline.
Say for example, I want my web banner to loop three times and stop-as is the standard on many ad networks.
- Mimio0
Flash movies don't normally loop.
So innumerate a variable for every play( timesPlayed++)
and evaluate for the desired numbver of loops.
if (timesPlayed == 5){
//stop looping
}
- harlequino0
Mimio, does that matter where on the timeline it goes? Beginning vs. end?
- dbloc0
yep. that's all..
- dbloc0
depends on where you want it to stop.
- Mimio0
Yeah, put somethig like that on the last frame where you want it to quit.
- harlequino0
You cats are the shizzle!