Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-21-2003, 09:34 AM
Junior Member
 
Join Date: Mar 2003
Posts: 14
Default Setting Current Location

This should be easier... maybe it's easier than I think.

You know how Flash can open a file with a getURL like, content/test.pdf and it knows where its relative root is without the whole drive path?

How can I get SWFKit to automatically set the current location of its executable file?
Reply With Quote
  #2 (permalink)  
Old 03-22-2003, 02:32 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re: Setting Current Location

You can get the path of your exe with the command
getAppdir().
This you can store in a variable and send it to your flash projector.
In flash you will then have to use this variable within your getUrl command.

I don't know if this is the easiest way, but it works just fine
Reply With Quote
  #3 (permalink)  
Old 03-24-2003, 07:36 AM
Junior Member
 
Join Date: Mar 2003
Posts: 14
Default Re: Setting Current Location

Worked perfectly - thank you - Maxx
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 03:07 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.