[quoted text, click to view] > I have a new issue that I need resolved with my Flash game. When finished the
> game will be published as a stand alone EXE file that people will be able to
> download and play. The resolution is set to 640x480 but the problem is that I
> can manually resize the window once the exe is opened. Under ALL circumstances
> I need the window to remain 640x480. Is there a property or code I can use to
> maintain this resolution? VB.NET made it nice and easy because the form itself
> had a FORMBORDERSTYLE property that could be set to FixedSingle, None, etc...
> As always, thanks for your input!
Well , you can't really w/o changing the size.
To be able to hide buttons and border you would have to blow it fullscreen.
While fulscreen you can set it up to 'allowScale fasle' to mantain your content at its
100 % size . But that's retty much all you can do with flash itself .
fscommand ("fullscreen", "true");
it will fill the screen and center the content
if you want to maintain the content size to avoid stretching
fscommand ("fullscreen", "true");
fscommand ("allowscale", "false");
However , if user hit ESC key or CTRL F the EXE file will get back to its original
size . To prevent user from doing that you could add one more fscommand
fscommand ("fullscreen", "true");
fscommand ("allowscale", "false");
fscommand ("trapallkeys", "true");
take a note tho , if you disable user key actions by "trapallkeys" user left no other
option but CTRL ALT DEL to close it so you will need to provide custom made QUIT button
with
fscommand ("quit");
Or , easy and neat , not just fullscreen but custom shape , no right click , custom
expire date , position on screen and lots more with 3rd party tools
like Jugglor from
http://www.FlashJester.com If you need it urgently , than perhaps I could help you wrap that exe with Jugglor.
If the files is not colossal that is , I could have problem on my tiny cable download 1GB exe :)
--
Regards
urami_*
<no>
http://flashfugitive.com/ </no>