Controlling instances with behaviors 95
The behaviors in the following table are packaged with Flash Basic 8 and Flash Professional 8.
For more information on embedded video behaviors, see “Controlling video playback using
behaviors” on page 302. For more information on controlling sounds with behaviors, see
“Controlling sound playback using behaviors” on page 318.
Behavior Purpose Select/input
Load Graphic Loads an external JPEG file into a
movie clip or screen.
Path and filename of JPEG file.
Instance name of movie clip or
screen receiving the graphic.
Load External Movie
Clip
Loads an external SWF file into a
target movie clip or screen.
URL of external SWF file.
Instance name of movie clip or
screen receiving the SWF file.
Duplicate Movieclip Duplicates a movie clip or screen Instance name of movie clip to
duplicate.
X-offset and Y-offset of pixels
from original to copy.
GotoAndPlay at
frame or label
Plays a movie clip from a particular
frame.
Instance name of target clip to
play.
Frame number or label to play.
GotoAndStop at
frame or label
Stops a movie clip, optionally
moving the playhead to a particular
frame.
Instance name of target clip to
stop.
Frame number or label to stop.
Bring to Front Brings target movie clip or screen
to the top of the stacking order.
Instance name of movie clip or
screen.
Bring Forward Brings target movie clip or screen
one position higher in the stacking
order.
Instance name of movie clip or
screen.
Send to Back Sends the target movie clip to the
bottom of the stacking order.
Instance name of movie clip or
screen.
Send Backward Sends the target movie clip or
screen one position lower in the
stacking order.
Instance name of movie clip or
screen.
Start Dragging
movieclip
Starts dragging a movie clip. Instance name of movie clip or
screen.
Stop Dragging
movieclip
Stops the current drag.