point(x, y), point(x, y)
upper-left and lower-right corners of region to fill, relative to the upper-left corner of the given
image object.
Required if filling a region using a rectangle. A rectangle that specifies the rectangular region
rect
to fill.
Example
This statement renders the image object in the variable
The following statement draws a filled oval in the image object TestImage. The oval has a green
fill and a 5-pixel-wide red border.
See also
color(), draw(),
findLabel()
Usage
-- Lingo syntax
spriteObjRef.findLabel(whichLabelName)
// JavaScript syntax
spriteObjRef.findLabel(whichLabelName);
Description
Function: this function returns the frame number (within the Flash movie) that is associated with
the label name requested.
A 0 is returned if the label doesn't exist, or if that portion of the Flash movie has not yet been
streamed in.
Parameters
whichLabelName
findEmpty()
Usage
-- Lingo syntax
castObjRef.findEmpty({memberObjRef})
// JavaScript syntax
castObjRef.findEmpty({memberObjRef});
Description
Cast library method; displays the next empty cast member position or the position after a
specified cast member.
This method is available only on the current cast library.
Parameters
Optional. A reference to the cast member after which the next empty cast member
memberObjRef
position is displayed. If omitted, the next empty cast member position is displayed.
Required if filling a region using points. Two points that specify the
image()
Required. Specifies the frame label to find.
completely black:
myImage
findEmpty()
313
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