Description
Extracts attached files packed in the executables.
Syntax
getAdditionalFile(name)
Parameters
var m = getAdditionalFile(¡°\\movies\\media1.swf");If the name specifies a path, the method extracts the specified folder and all it¡¯s files and subfolders to the temporary folder and returns the pathname of the folder. Invoking the method without parameter or with a empty string extracts all files and folders. E.g. extract the movies folder:
var movies = getAdditionFile(¡°\\movies"); var m = movies + ¡°\\" + media1.swf;Note: This method works only with files and folders under the "Application" folder. SWFKit does not pack any files under the ¡°Windows¡± folder. Only the setup program uses that files.
Returns
String. If the file or folder does not exist, returns null.