Made to Order Software Corporation Logo

Set Target

SWF Action
Action Category: 
Action Details: 
Action Identifier: 
Action Structure: 
string   f_target;
Action Length: 
-1 byte(s)
Action Stack: 
Action Operation: 
Action Flash Version: 

If the string f_target is the empty string, then the next actions apply to the main movie.

Otherwise it is the name of a Sprite and the followings actions apply to that Sprite only.

In order to use a dynamic name for the target, use Set Target (dynamic) instead.

Note that this action should not be used since SWF version 5 where you can instead access the movie members (i.e. view Sprites as objects with data members and functions.) For instance, to call the play() function on a Sprite, one can use this code:

  push data 0;
  push data "this";
  get variable;
  push data "_parent";
  get member;
  push data "play";
  call method;

This is equivalent to:, or a Set Target of the parent object and a Play action.


Post new comment

The content of this field is kept private and will not be shown publicly.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.