Thursday, October 15, 2009

Play or Stop a particular Frame on click



This action script 2.0 will show you how to play or stop the animation in a particular frame wherever you want.

To stop at a particular frame you want use this script.

For Eg: If you want to stop your animation in frame 54.

ActionScript:
-------------------------------------------------------------
on(press) {
gotoAndplay(54);
}

Shortcut Key : Esc + on + gp


To stop at a particular frame you want use this script.

For Eg: If you want to Stop your animation in frame 54.

ActionScript:
-------------------------------------------------------------
on(click) {
gotoAndstop(54);
}

Shortcut Key : Esc + on + gs


0 comments:

blogger templates | Make Money Online