Groups | Blog | Home
all groups > flash actionscript > june 2004 >

flash actionscript : PLZ HELP. Active Desktop and FS Command


wonsong82
6/13/2004 10:26:23 PM
hi.. im running an internet cafe and tried to use flash as my desktop wall
paper of the computers.
that way, this will prevent from customers to modify or delete icons which is
really frustrated.

the problem is to link up to the actual applications. first, i tried to just
use get URL to the applications to load up, but
it asks me to comfirm download, save or open or cancel.

So, i tried to work on FSCommand , exec. it seemed working fine with projector
and swf file, but fscommand,exec didnt work in html format. Obviously, active
desktop uses html files and so, it didnt work.

is there any way to use my swf file or projector files for my active desktop
and make fscommand, exec to be working?

purple_am
6/14/2004 8:55:27 AM
Hi
Well this might seam stupid and i have been trying this for some time and to
be sincere never worked. but who knows may be this can be solved.

I have got my theory that if the fscommand does not work in the htm envelope.
we can try to do it with htm.

This code is for the asfunction.

function launch(fscommand) {
fscommand("exec", "fireworks.bat");
}

and this is the piece of htm which is found in your swf.
"<A HREF=\"asfunction:launch,fscommand\">Click</A>";

well as i mentioned this may be pure stupidity.
But if you got the answer just post it here.

Cheers
amal


Paul NO[at]SPAM Magma
6/14/2004 11:24:33 AM
Hi, you need Jstart by flash jester. Due to issues of security, flash will
no longer open files, only applications, but Jstart overrides that and opens
any file type in any app, or the default app, i.e. Html in explorer. I'm
using it now to open PDF's from a CD ROM an it works great, their support is
very good too. Good Luck <www.flashjester.com>
nITiNkIlLeRmEeRuT
6/16/2004 9:13:42 AM
I don't understand whether you guys understand his problem or not. What he
actually want is to create a desktop using flash so that the icons that appears
on desktop are embedded in flash so that users can't delete or modify them.
What i would like to suggest u to leave this idea and go for any alternate
security method like there are some utilities like desktop lock or any other
commands which can remove delete command from menus or so. These type of
securities are possible only when u r using NTFS partition( I m talking abt
win) and then applying what permissions to assign to users of ur cafe.
Ken
7/19/2004 3:08:27 PM
Hello!

The "exec" FSCommand works only on the projector (.exe).
I run into the same problem a few weeks ago, and solved it using
Javascript; sending an FSCommand to the containing HTML page, which
invokes a Javascript function and starts the application you want.

Unfortunately, you have to manually lower security settings and enable
scripts, as Active Desktop is not allowed by default to run any scripts
at all.

Let me know if you need more info on that.

Have a nice day!
Ken

[quoted text, click to view]
AddThis Social Bookmark Button