Color Class - MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

In an external script file or in the Actions panel, use the
var pineTree:Plant = new Plant("Evergreen","N/A");
// Confirm parameters were passed correctly
trace(pineTree.getLeafType());
trace(pineTree.getBloomSeason());
See also
,
dynamic
extends
clearInterval()
Availability
Flash Player 6.
Usage
clearInterval( intervalID )
Parameters
An object returned from a call to
intervalID
Returns
Nothing.
Description
Function; clears a call to
Example
The following example first sets and then clears an interval call:
function callback() {
trace("interval called");
}
var intervalID;
intervalID = setInterval( callback, 1000 );
// sometime later
clearInterval( intervalID );
See also
setInterval()

Color class

Availability
Flash Player 5.
Description
The Color class lets you set the RGB color value and color transform of movie clips and retrieve
those values once they have been set.
You must use the constructor
,
,
implements
interface
setInterval()
new Color()
operator to create a Plant object.
new
,
new
setInterval()
.
to create a Color object before calling its methods.
.
Color class
331

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents