|
|||
|
I have a CD-ROM project that consists of several external swf, xml css files and documents.
I want to publish the master swf using SWFKITT thus allowing me to open the before mentioned documents (word and pdfs). (excuse my ignorance BUT I’m more of a director CD developer and have only recently come across building apps in flash) I was presuming all I do is take my top-level main.swf add it to SWFKITT along with the relevant FFish Script and it opens files. I’ve mastered a basic test flash movie the opens a pdf from script called in flash, however when I add this to my main project all the menu generation from my xml and styles get stripped out??!! I’d rather not have to publish 1 big file, eg I’d rather keep all the swf styles and xml separate as we need to run updates on the USB versions!! Any ideas as to why this is not working? |
|
|||
|
1. Add the main swf file into the movie list
2. Add all other files into the attachment list, same directory structure as on disk. (Please try the "import" button) 3. Uncheck the "packed attached files" option in [Operation Panel]->[Output details], so the files won't be packed 4. In the "initialize" script, add the following code Code:
var path = getAdditionalFile(); Application.setBasePath(path); |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|