|
|||
|
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? |
|
|||
|
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 |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|