Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > Projectors and CDs

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-03-2009, 12:41 PM   #1
rishikt
Registered User
 
Join Date: Nov 2009
Posts: 2
Default [AS2] fscommand open problem

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.
rishikt is offline   Reply With Quote
Old 11-03-2009, 03:34 PM   #2
northcode
Senior Member
 
northcode's Avatar
 
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 244
Default

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?
northcode is offline   Reply With Quote
Old 11-04-2009, 05:03 AM   #3
rishikt
Registered User
 
Join Date: Nov 2009
Posts: 2
Default

Quote:
Originally Posted by northcode View Post
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?
sorry, its fscommand("openwindow", "folder\file")
here's the documentation I found on Adobe
http://kb2.adobe.com/cps/141/tn_14192.html#fscommand
rishikt is offline   Reply With Quote
Old 11-04-2009, 06:31 AM   #4
northcode
Senior Member
 
northcode's Avatar
 
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 244
Default

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.
northcode is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT. The time now is 06:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.