Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-18-2005, 06:22 AM
Junior Member
 
Join Date: Sep 2004
Posts: 8
Default how can i get app's path?not in temp!

if my exe put in the desktop ,i want to get the exe's full path ,as "C:\DOCUME~1\ADMINI~1\desktop",
not "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\{641679B5-A55B-45D0-AD1C-58F9F0CEA569}"

how can i get the this path? thanks~~
Reply With Quote
  #2 (permalink)  
Old 11-18-2005, 06:26 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re:how can i get app's path?not in temp!

try this command

Code:
f = new Folder(getAppDir());
trace(f.shortName);
//output will be the short name
Reply With Quote
  #3 (permalink)  
Old 11-18-2005, 07:20 AM
Junior Member
 
Join Date: Sep 2004
Posts: 8
Default Re:how can i get app's path?not in temp!

Quote:
Originally Posted by meester
try this command

Code:
f = new Folder(getAppDir());
trace(f.shortName);
//output will be the short name

output is:

{498A6~1

not the real path~~~

i think is not use "getAppDir()"~~
Reply With Quote
  #4 (permalink)  
Old 11-18-2005, 07:44 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re:how can i get app's path?not in temp!

In test mode, this is quasi almost the temp directory.

When the project is build it uses the real directory unless you have used the pack movie option.
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:04 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.