Copy link to clipboard
Copied
hi
i have a function 'a' with array 1x2, 1x3, 1x4...
every step its 1x2 > answer
1x3 > answer..
ans so on
if answer correct i call my function 'a' again.
how i can call my function 'a' just 3 times?
thank you.
Copy link to clipboard
Copied
var a:Number = 0;
a = a + 1;
if (a > 2)
{
gotoAndStop('stop');
}
this is correct way?
Copy link to clipboard
Copied
Hello!
Well, it depends on some factors, like:
1) Function 'a' itself checks if the answer is correct?
2) Which event calls function 'a'?
... and so on.
Please, if you could detail your problem and maybe post some code, it will be easier for us to understand it and help you :-).
Message was edited by: rah02
Find more inspiration, events, and resources on the new Adobe Community
Explore Now