User Guide

stage 1007
This approach allows the use of the reference pMySpriteRef later in the script, with the handler
using the syntax:
-- Lingo syntax
currMember = pMySpriteRef.member
// JavaScript syntax
var currMember = pMySpriteRef.member
instead of the following syntax which is somewhat longer:
-- Lingo syntax
currMember = sprite(spriteNum).member
// JavaScript syntax
var currMember = sprite(this.spriteNum).member
This alternative approach is merely for convenience, and provides no different functionality.
See also
new(), Sprite
stage
Usage
-- Lingo syntax
_movie.stage
// JavaScript syntax
_movie.stage;
Description
Movie property; refers to the main movie. Read-only.
This property is useful when sending a message to the main movie from a child movie.
Example
This statement displays the current setting for the Stage:
-- Lingo syntax
put(_movie.stage.rect)
// JavaScript syntax
put(_movie.stage.rect);
See also
Movie