excuse me i am working on swishmax 4 not adobe flash
but both uses action script 3
i tried your code but not working
thank you fruitbeard and i hope swishmax man help me
thanks all
If youre doing this and your SWF is running in a browser, you will have limited keyboard control (see documentation for details) it should work fine in the standalone player or in AIR.
One thing to note is you can't male this happen AUTOMATICALLY. Flash will only enter fullscreen mode in response to a mouse click or keyboard event (for security reasons).
When your swf2exe tool just HAS to work
there's only one choice... SWF Studio
it is easy in swiahmax to make fullscreen :
onFrame (1) {
fscommand("FullScreen",true);
}
i want the same code to make maximize
can you write or edit this code to make maximize ?
No, Flash isn't supposed to be able to affect (or know anything about) its container. The FSCommand function is a hack to let you do a few special tasks, but there are some limitations. The only way to maximize the player window is to use FScommand to start another EXE that can do the job for you.
When your swf2exe tool just HAS to work
there's only one choice... SWF Studio