MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 297

Extending flash
Table of Contents

Advertisement

Property
item.linkageImportForRS
item.linkageURL
item.name
item.addData()
Availability
Flash MX 2004.
Usage
item.addData( name, type, data )
Parameters
A string that specifies the name of the data.
name
A string that specifies the type of data. Valid types are
type
,
"double"
"doubleArray"
The data to add to the specified library item. The type of data depends on the value of
data
the type parameter. For example, if type is "
and so on.
Returns
Nothing.
Description
Method; adds specified data to a library item.
Example
The following example adds data named myData with an integer value of 12 to the first item
in the library:
fl.getDocumentDOM().library.items[0].addData("myData", "integer", 12);
Description
A Boolean value. If
runtime sharing.
A string that specifies the URL where the SWF file
containing the shared asset is located.
A string that specifies the name of the library item,
which includes the folder structure.
,
, and
"string"
"byteArray"
integer
, the item is imported for
true
,
"integer"
.
", the value of data must be an integer,
,
"integerArray"
Item object
297

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents