Lingo Dictionary > L-N > move member

 

move member

Syntax

member(whichCastMember).move()
member(whichCastMember).move(member whichLocation)
move member whichCastMember {,member whichLocation}

Description

Command; moves the cast member specified by whichCastMember to the first empty location in the Cast window (if no parameter is set) or to the location specified by whichLocation.

For best results, use this command during authoring, not at run time, because the move is usually saved with the file. The actual location of a cast member does not affect most presentations during playback for an end user. To switch the content of a sprite or change the display during run time, set the member of the sprite.

Example

This statement moves cast member Shrine to the first empty location in the Cast window:

member("shrine").move() 

Example

This statement moves cast member Shrine to location 20 in the Bitmaps Cast window:

member("Shrine").move(20, "Bitmaps")