MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 795

Director scripting reference
Table of Contents

Advertisement

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,
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
-- Lingo syntax
vHeight = member("Headline").height
// JavaScript syntax
var vHeight = member("Headline").height;
child
(3D),
parent
:
vHeight
height
795

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents