Link to home
Start Free TrialLog in
Avatar of raulmonda
raulmonda

asked on

ActionScript2 - How to delay the execution (controlling the speed of animation via coding)

hi experts,


i need to make an animation in 10 steps in a for () loop:

for (i=0; i<10; i++)
{
step i; //whatsoever.....
delay(xx);
wait(xx);
}

is there any function to insert it in the loop to control the speed of execution? kinda of delay(xx);   or wait(xx); ?

Many thanks in advance.
regards,
Raul
ASKER CERTIFIED SOLUTION
Avatar of Antonio Estrada
Antonio Estrada
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of raulmonda
raulmonda

ASKER

Thank you. Ill look on it to implement it on my project.

Regards,
Raul
Glad to help!

-V