-- Lingo syntax _movie.sprite[spriteNameOrNum] // JavaScript syntax _movie.sprite[spriteNameOrNum];
Movie property; provides indexed or named access to a movie sprite. Read-only.
The spriteNameOrNum argument can be either a string that specifies the name of the sprite or an integer that specifies the number of the sprite.
The following statement sets the variable sportSprite to the movie sprite 5:
-- Lingo syntax sportSprite = _movie.sprite[5] // JavaScript syntax var sportSprite = _movie.sprite[5];
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/director/mx2004/release_update_en/09_pr610.htm