Flash AS Banner Loop
- Started
- Last post
- 9 Responses
- kbags
How can I make a Flash banner ad loop 3 times and then stop?
- rob_pc0
i asked the same question about a week ago. here is how i did it:
from
On first frame just place a variable, like:count = 3;
On the third frame place
count--;
if (count==0){
stop();
} else {
gotoAndPlay(1);
}see my thread and hit "next" to view responses:
http://www.newstoday.com/pv-an/v…
- JazX0
or just hardcode it and put the things you want to feature in 3 seperate times. 3x3=9
- kbags0
Thanks rob. I placed that AS in and it doesn't appear to be working though...anyone know why?
- fate0
first frame
---------------------------
count = 0
count++
if (count==3){
stop();
} else {
play();
}
- fate0
fuck me, I'm stupid.
First frame
count=0
Second Frame
count++
if (count==3){
stop();
} else {
play();
}Have the end of the animation loop back to frame 2.
- kbags0
Thanks for responding, fate. I tried what you recommended but it's not working. :(
- function820
First frame
count=0
Last Frame
count--
if (count==0){
stop();
} else {
gotoAndPlay(2)
}
- function820
sorry, there was a typo
make count=3 in the first frame
- kbags0
WHOOHOOO...GOT IT!
It was count=3 instead of count=0.
Thank you, friends!