Item.linkageexportforas, Item.linkageexportforrs – Adobe Extending Flash Professional CS5 User Manual
Page 337
315
EXTENDING FLASH PROFESSIONAL
Item object
Last updated 5/2/2011
For this property to be defined, the
properties must
be set to
true
, and the
false
.
Example
The following example specifies that the ActionScript 2.0 class name associated with the first item in the library is
myClass
:
fl.getDocumentDOM().library.items[0].linkageClassName = "myClass";
item.linkageExportForAS
Availability
Flash MX 2004.
Usage
item.linkageExportForAS
Description
Property; a Boolean value. If this property is
true
, the item is exported for ActionScript. You can also set the
item.linkageExportInFirstFrame
true
.
If you set this property to true, the
false
. Also, you must specify
).
Example
The following example sets this property for the specified library item:
fl.getDocumentDOM().library.items[0].linkageExportForAS = true;
item.linkageExportForRS
Availability
Flash MX 2004.
Usage
item.linkageExportForRS
Description
Property; a Boolean value. If this property is
true
, the item is exported for run-time sharing. You can also set the
item.linkageExportInFirstFrame
true
.
If you set this property to true, the
false
. Also, you must specify
).
Example
The following example sets this property for the specified library item:
fl.getDocumentDOM().library.items[0].linkageExportForRS = true;