Setting a default flash player

Monkey Targets Forums/Flash/Setting a default flash player

QuickSilva(Posted 2011) [#1]
Is it possible to have my flash game run in the player (instead of the default web browser) that comes with the flex sdk after it is compiled?

I have set my path to the following which seems to start the player but my game is not loaded in to it. Any ideas? It just opens the empty player.

FLASH_PLAYER="${SYSTEMDRIVE}\TargetSDK\flex_sdk_4.5.1\runtimes\player\10.2\win\FlashPlayerDebugger.exe"

Thanks for any help,
Jason.


QuickSilva(Posted 2011) [#2]
Still cannot see why this doesn`t work? Any of you guys using a different Flash player setting successfully?

Jason.


Karja(Posted 2011) [#3]
Unfortunately, if you check the trans source code, you see that the FLASH_PLAYER execution is done like this:

Execute FLASH_PLAYER+" ~q"+RealPath( "MonkeyGame.html" )+"~q",False

So, it gives the html file as the argument instead. Should be easy enough to modify and recompile, but that's pretty bothersome since there are new versions coming out now and then.

I simply do a build, and then I run the swf myself - it's the lesser of two evils at least.