Extending Flash |
|
|
|
| Objects > flash object (fl) > fl.openScript() | |||
Flash MX 2004.
fl.openScript(fileURI)
fileURI A string, expressed as a file:/// URI, that specifies the path of the JSFL, AS, ASC, XML, TXT or other file that should be loaded into the Flash text editor.
Nothing.
Method; opens a script (JSFL, AS, ASC) or other file (XML, TXT) in the Flash text editor.
The following example opens a file named my_test.jsfl that is stored in the /temp directory on the C drive:
fl.openScript("file:///c|/temp/my_test.jsfl");
|
|
|
|