Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-14-2010, 10:18 AM
Junior Member
 
Join Date: Jun 2009
Posts: 10
Default issues with 2

hi,
i'm having 2 exe files both made with flash and both compiled with their specific skp file. the two programs are supposed to save in a xml some results.the first application needs at some point to open the second application then the second application needs to write in the xml. the first application works fine but the second one has some issues. when i run the second application alone it writes in the xml, but when i call the second application with the first one it doesn't write in the xml.

i'm using this code in skp for saving
Code:
var sub = FlashPlayer.getVariable("uXML");
var df = "DataBase\\userDB.xml";
var xmlFile = new FileStream(df, "w");

xmlFile.write(sub);
xmlFile.close();
and i call them with the swf file

Code:
fscommand("ffish_run","Save");
and for opening the second application from the first one i use in skp the code

Code:
Shell.open(getAppDir()+"ress\\secondApplication.exe");
Reply With Quote
  #2 (permalink)  
Old 04-14-2010, 06:32 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default

Have you tried to use the absolute path name? For example
Code:
var df = getAppDir() + "DataBase\\userDB.xml";
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 06:09 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.