Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-07-2005, 04:38 PM
Junior Member
 
Join Date: Aug 2005
Posts: 11
Default xml opening files help...

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?


Reply With Quote
  #2 (permalink)  
Old 11-08-2005, 08:06 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:xml opening files help...

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);
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:03 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.