clinch
01-25-2006, 08:39 PM
Hi.
I am just diving into JSFL for the first time. I'm trying to make a new "test movie" script that will allow me to export an swf and run it, very similar to how the normal "Test Movie" runs when I hit CTRL+Enter..
However, I would like to use exportSWF, so I can override the location that the SWF gets published to, regardless of what is configured in the FLA file.
So essentially, I would like to have the following:
fl.getDocumentDOM().exportSWF(path);
codeToLaunchSWF(path);
However, I've searched and can't find the "codeToLaunchSWF". Can some one tell me how to achieve this?
Please and thank you. I know there aren't many JSFL programmers out there, so I'm grateful for your help.
I am just diving into JSFL for the first time. I'm trying to make a new "test movie" script that will allow me to export an swf and run it, very similar to how the normal "Test Movie" runs when I hit CTRL+Enter..
However, I would like to use exportSWF, so I can override the location that the SWF gets published to, regardless of what is configured in the FLA file.
So essentially, I would like to have the following:
fl.getDocumentDOM().exportSWF(path);
codeToLaunchSWF(path);
However, I've searched and can't find the "codeToLaunchSWF". Can some one tell me how to achieve this?
Please and thank you. I know there aren't many JSFL programmers out there, so I'm grateful for your help.