Extending Flash |
|
|
|
| Objects > Document object > document.documentHasData() | |||
Flash MX 2004.
document.documentHasData(name)
name A string that specifies the name of the data to check.
A Boolean value: true if the document has persistent data; false otherwise.
Method; checks the document for persistent data with the specified name.
The following example checks the document for persistent data with the name "myData":
var hasData = fl.getDocumentDOM().documentHasData("myData");
document.addDataToDocument(), document.getDataFromDocument(), document.removeDataFromDocument()
|
|
|
|