Sprite Methods
Top  Previous  Next



Method
Description
duplicateSprite
Creates an Instance of a Sprite / Movie Clip while the Movie is playing
getURL
This Actions loads a document from the specified URL into a browser window
gotoAndPlay
Sends the playhead to the specified Frame in a Scene and plays from that Frame
gotoAndStop
Sends the playhead to the specified Frame in a Scene and stops at that Frame
loadMovie
Loads a .swf or .jpeg file into the Flash Player while the original Movie is playing
loadVariables
Reads data from an external file, such as a text file or text generated by a CGI script, Active Server Pages (ASP), or PHP, or Perl script and sets the values for variables in a Flash Player level or a target Movie Clip
nextFrameAndPlay
Sends the playhead to the next Frame in a Scene and plays from that Frame
nextFrameAndStop
Sends the playhead to the next Frame in a Scene and stops at that Frame
play
Moves the playhead forward in the Timeline
prevFrameAndPlay
Sends the playhead to the previous Frame in a Scene and plays from that Frame
prevFrameAndStop
Sends the playhead to the previous Frame in a Scene and stops at that Frame
removeSprite
Removes an Instance of a Sprite created with the duplicateSprite() method
skipFrameAndPlay
Sends the playhead ahead n Frames and plays from that Frame
skipFrameAndStop
Sends the playhead ahead n Frames and stops at that Frame
startDragLocked
Makes the target Sprite / Object draggable while the Movie is playing
The Sprite / Object is locked to the center of the mouse position
startDragUnlocked
Makes the target Sprite / Object draggable while the Movie is playing.
The Sprite / Object is locked to mouse position where the user first pushed the mouse button
stop
Stops the playhead at the current position
unloadMovie
Removes a loaded Movie or a Movie Clip from the Flash Player