Javascript| Control
Description: I have already tested the method of containing examples.
Playing animation: Play ()
Example: (The Flash ID in a Web page). Play ();
Stop animation: Stopplay ()
Whether the animation is playing: IsPlaying ()
Jump to A Frame: Gotoframe (frame_number)
Get total frames of animation: Totalframes ()
Return the current animation frame number: Currentframe ()
To return the animation to the first frame: rewind ()
Enlarge the specified range: Setzoomrect (left,top,right,buttom)
Change animation size: Zoom (percent)
To make the animation pan in x,y direction: Pan (X_position,y_position,unit)
Returns the percentage of animation that is loaded: percentloaded ()
Load Animation: Loadmovie (Level_number,path)
Example: (The Flash ID in a Web page). Loadmovie (0, "***/***.swf");
Movie_clip jump to a specified number of frames: Tgotoframe (Movie_clip,frame_number)
Example: (The Flash ID in a Web page). Tgotoframe ("_root. Instance name", number of frames);
Movie_clip jumps to the specified label: Tgotolabel (Movie_clip,label_name)
Example: (The Flash ID in a Web page). Tgotolabel ("_root. Instance name", "label name");
Postback Movie_clip Current frame: tcurrentframe (movie_clip)
Postback Movie_clip Current tag: Tcurrentlabel (Movie_clip)
Play Movie_clip:tplay (Movie_clip)
Stop Movie_clip Playback: Tstopplay (movie_clip)
Get variable: getvariable (variable_name)
Variable assignment: setvariable (variable_name,value)
CALL Specifies the Action:tcallframe on the frame (movie_clip,frame_number)
CALL Specifies the Action:tcalllabel on the label (Movie_clip,label)
Gets the specified property of the Movie_clip: Tgetproperty (Movie_clip,property)
Set the specified properties for Movie_clip: Tsetproperty (Movie_clip,property,number)