MovieClip:setStopAction

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2011.6
Class: MovieClip

Description

Sets a stop action to the specified frame.

MovieClip:setStopAction(frame)

When the movie clip reaches a frame with a stop action, it stops playing.

This function is usually used to divide the animation into independent parts.

Parameters

frame: (int) the frame number