User Guide

findEmpty() 313
point(x, y), point(x, y) Required if filling a region using points. Two points that specify the
upper-left and lower-right corners of region to fill, relative to the upper-left corner of the given
image object.
rect Required if filling a region using a rectangle. A rectangle that specifies the rectangular region
to fill.
Example
This statement renders the image object in the variable myImage completely black:
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(), image()
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 doesnt exist, or if that portion of the Flash movie has not yet been
streamed in.
Parameters
whichLabelName
Required. Specifies the frame label to find.
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
memberObjRef Optional. A reference to the cast member after which the next empty cast member
position is displayed. If omitted, the next empty cast member position is displayed.