| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Nov 2009
Posts: 2
|
I am trying to open a file on the hard disk with the fscommand("open", "folder\file") command. the command works fine in all cases except when there is a "#" in the file path.
eg: "C:\Folde#r\Image1.jpg" Is this is a AS bug? ![]() ![]() Please help. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 244
|
I don't know how that's working for you at all!
There is no fscommand "open". Flash only supports 6 fscommands: - quit - fullscreen - allowscale - showmenu - exec - trapallkeys Are you using a third party swf2exe tool? |
|
|
|
|
|
|
|
|
#3 | |
|
Registered User
Join Date: Nov 2009
Posts: 2
|
Quote:
here's the documentation I found on Adobe http://kb2.adobe.com/cps/141/tn_14192.html#fscommand |
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 244
|
That's not a standard fscommand, it's a custom command that is made from Flash to some JavaScript in the HTML container. It's the JavaScript doing all the work. This will NOT work from an EXE file, it will only work if the SWF is hosted in an HTML document with the necessary handler implemented in JavaScript.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|