Skip to main content
wygyj
Participant
September 19, 2014
Question

get current swf path

  • September 19, 2014
  • 0 replies
  • 222 views

I'm developing an extension use Extension Builder for Photoshop CS5. I have to use an executable file in my extension. In general, if you use the Adobe Extension Manager to install the extension, the extension's swf file will put to USERPATH\AppData\Roaming\Adobe\CS5ServiceManager\extensions\YOUR EXTENSION NAME.

However, some time it isn't. And I don't know the reason. My executable file will be copy to the path as same as the swf file. So I want to get the swf file's path.

In Flex, the File class has two static variables File.applicationStorageDirectory and File.applicationDirectory. But they don't match the swf file's path.

How can I get the path in runtime? Solution use Flex or Javascript Script is ok.

Any help will be appreciated. Thanks!

This topic has been closed for replies.