PDA

View Full Version : Launching a .swf like a .exe if the user already has a flash player installed


freddieT
07-19-2005, 02:52 PM
Hello
I'm making flash presentations, sent via email, which must play fullscreen with a left click of a mouse, not in a broswer, and so obviously i'm publishing my flash as .exe projectors. However with flash player 7 this is adding about a meg onto the file size which makes them kind of heavy. On my computer where i have the Flash Application installed, i can launch .swf's with a simple click of the mouse in fullscreen, however on other computers which only have the flash player/(browser plugin), one has to right click, open with->flash player to play a swf, but nonetheless they can be played. I was wondering therefore if anyone knew some way of launching .swfs like projectors, on computers where flash player is installed but not the Flash Application? Is there some way of writing an autorun.inf or a .bat(??) file or something to automatically launch a .swf in the installed flash player?
Any ideas much appreciated!
Fred.

mamaz
08-13-2005, 06:27 PM
I am assuming that you are sending this projector to PC's with Windows based operating systems.

Since you say that one of your clients can right click on the swf and use "Open With" -> Flash player why don't you create a .reg file and send it along with the projector. Tell your clients to run the reg file first.

You can associate a file extension in this case (.swf) with a default application in the windows registry. This will cause the file to load using its default application (in your case the swf when double clicked on will launch flash player)

Here's a site I found that will help you make a .reg file :

http://msmvps.com/coad/archive/2004/06/11/8011.aspx