Hi, I needed to make a loop for a intro splash, and since I have only programmed in php before, I tried this (to my suprise it didn’t give a syntax error):
count=0;
if (count < 5) {
gotoAndPlay(40);
count++;
} else {
if (count = 5) {
getURL("http://www.example.com/home.php","_self");
}
}
trace ("This is loop nr: "+count+".");
But the count variable, didn’t change value, it just stayed at 1.
So sumthing must be wrong.
Can someone more familiar with actionscript, help me out a bit here.
All help is appreciated.