Extending Flash |
|
|
|
| Objects > Document object > document.path | |||
Flash MX 2004.
document.path
Read-only property; a string that represents the path of the document in a platform-specific format. If the document has never been saved, this property is undefined.
The following example displays the path of the first document in the documents array in the Output panel:
var filePath = flash.documents[0].path; fl.trace(filePath);
|
|
|
|