EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 795

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
height 795
Example
This statement shows that the fourth group of the cast member newAlien is the group Direct01:
put member("newAlien").group[4]
-- group("Direct01")
See also
newGroup, deleteGroup, child (3D), parent
height
Usage
-- Lingo syntax
imageObjRef.height
memberObjRef.height
spriteObjRef.height
// JavaScript syntax
imageObjRef.height;
memberObjRef.height;
spriteObjRef.height;
Description
Image, Member, and Sprite property; for vector shape, Flash, animated GIF, RealMedia,
Windows Media, bitmap, and shape cast members, determines the height, in pixels, of the
cast member displayed on the Stage. Read-only for cast members and image objects, read/write
for sprites.
Example
This statement assigns the height of cast member Headline to the variable vHeight:
-- Lingo syntax
vHeight = member("Headline").height
// JavaScript syntax
var vHeight = member("Headline").height;