Quick question.
I have a flash projector (.exe) running in the root of a USB key. One of the options has to be 'browse this key' which (on click) simply opens the root folder of the USB key (where the files are).
Obviously the drive letter can be bloody anything, so I cannot hard code a path.
Is this even possible these days??
Cheers!
P~
My research is still not providing any answers to this one. :( Can it not be done.
I am also havin trouble launching a PDF from the same folder as the projector using the exec command. The PDF only opens if I have a browser window currently open ( which is strange). Can anyone make any suggestions on that one for me please?
Cheers.
P~
Uhm.. I think Zinc can do this, or Northcode at Flashkit created some batch files that you can call ( this was aimed at Flast 5 ) to open folders.
Do a search of the Standalone/application forum there, it is hard to find the links, but they are there. You'll have to wade though several hundred newbie questions...
Edit :
Open folder :http://board.flashkit.com/board/showthread.php?t=712569&highlight=open+folder
Open PDF : Northcode's post onhttp://board.flashkit.com/board/showthread.php?t=603593&highlight=open+folder
Thanks buddy.
Going to try and do this without the requirement for paying more money for one project, but...
P~
Fuck me, this was ridiculously complicated for no fricken reason!
Seems NOTHING would work - until I created a folder called fscommand and put everything in there! Suddenly things work a treat!
Fuck Macromedia - I hate you. Now I know why I stopped using Flash in 2001.
:(
P~
For what it is worth, while Northcode is a company rep from SWF Studio, the batch files linked above are free for anyone to use.
Heres a half ass bit of help, I managed to open the root folder in a projector using:
target_mc.onRelease = function() { getURL("./", _self); }
The problem is it obviously opens a browser window, never got round to cracking that one???
here is the best solution for this issue 