Could someone kindly tell me how to :
get a scene to loop twice (or perhaps three times) and then proceed to the next scene.
I imagine I need a counter and an if statement but I don’t know enough ActionScript to do it.
Thank you.
Geoff
Could someone kindly tell me how to :
get a scene to loop twice (or perhaps three times) and then proceed to the next scene.
I imagine I need a counter and an if statement but I don’t know enough ActionScript to do it.
Thank you.
Geoff
put this code to your scene’s last frame:
[AS]
var count;
count += 1;
if(count>3){
gotoAndPlay(“next scene name”,1);
} else {
gotoAndPlay(1);
}
[/AS]
Thanks, that’s great
geoff
u r welcome Geoff…
:: Copyright KIRUPA 2024 //--