Extending Flash |
|
|
|
| Objects > Document object > document.removeDataFromDocument() | |||
Flash MX 2004.
document.removeDataFromDocument(name)
name A string that specifies the name of the data to remove.
Nothing.
Method; removes persistent data with the specified name that has been attached to the document.
The following example removes from the document the persistent data named "myData":
fl.getDocumentDOM().removeDataFromDocument("myData");
document.addDataToDocument(), document.documentHasData(), document.getDataFromDocument()
|
|
|
|