This function reads a Flash Object file.
fileName
fileName argument, which is expressed as a file:// URL, is a path to a Flash Object file.
An array of strings where the first array element is the full path to the template SWT file. The following strings represent the parameters (name/value pairs) for the object. Each name is followed in the array by its value. The first name/value pair is "dwType", followed by its value. The function returns a null value if the file cannot be found or if it is not a Flash Object file.
Calling var params = SWFFile.readFile("file:///MyMac/test.swf") returns the following values in the parameters array:
"file:///MyMac/test.swt" // template file used to create this .swf file "dwType" // first parameter "myType" // first parameter value "text" // second parameter "Hello World" // second parameter value
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/06_fla10.htm