Other Help Topics :: playing swf  file from desktop



i created an icon.png and icon.lnk.

but i dunno how to link it. here's the code:

Code Sample

table Icon
 Type: Program
 Caption: ProjeX Demo
 Command: mainpage.swf
 Icon: .xtdesktop/flashicon.png
 X: 32
 Y: 262
end


i put the mainpage.swf at the .xtdesktop . i have installed flash player.

pls help. thx in advanced.

You'd need to pipe it to Firefox somehow, don't know the syntax for opening firefox with a specific file.  Not sure if you can pipe in a pure swf file, may need to embed it in html for the commandline method to work.

Think it may be something like
"firefox /home/dsl/flashdemo.html"
(if flashdemo.html is stored in your home/dsl directory).

I think.  Maybe.

The flash player is the firefox plugin, not a stand-alone one.  Might want to investigate the "autohide" extension for firefox (ie. a firefox extension, not a DSL one), it allows you to have pages in fullscreen or "kiosk" mode, so you don't actually see the browser itself, depending on settings.

/usr/local/bin/firefox -a firefox -remote 'openURL(/path/to/file)'
you can also download gflashplayer, which is a standalone player.  It's only version 6, but I used it a lot before the v7 plugin came out (gflashplayer was MUCH better than the v6 plugin).

original here.