MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 242

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

DataType.setAsBoolean()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
dataTypeObject.setAsBoolean(newBooleanValue)
Parameters
newBooleanValue
Returns
Nothing.
Description
Method; sets the field to the new value, which is given as a Boolean value. The value is converted
to, and stored as, the data type that is appropriate for this field.
Example
The following example sets a variable named
value referenced by
var bool: Boolean = true;
field.setAsBoolean (bool);
DataType.setAsNumber()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
dataTypeObject.setAsNumber(newNumberValue)
Parameters
newNumberValue
Returns
Nothing.
Description
Method; sets the field to the new value, which is given as a number. The value is converted to,
and stored as, the data type that is appropriate for this field.
242
Chapter 6: Components Dictionary
A Boolean value.
to
.
field
true
A number.
to the Boolean value
bool
. It then sets the
true

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents