I will try to add that soon.
I will try to add that soon.
Originally Posted by Looki
Any chance you could explain what the other values do?
TIA
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/StageScaleMode.html
noScale is the default.
exactFit stretches the whole image without keeping the ratio.
noBorder stretches the image, keeping the ratio, and making it so big that there are no borders.
showAll keeps the ratio too, but keeps it small, so there might be borders.
I've added fullscreen now. Due to a Flash limitation it works quite weird. You can now align the stage as well.
Add the "On fullscreen request" condition of the Flash Fx object.
It will be triggered when the left mouse button is clicked (anywhere).
Then, if you want to *change* the fullscreen state, use "Set display state".
Good config for scaling (in my opinion):
Start of frame
Set stage alignment to ""
Set stage scale mode to "showAll"
http://clickteam.info/looki/Extensions/Beta/FlashFx.zip
Oh, this will overwrite the RuntimeFlash.html file in your Data\Runtime\Flash folder, to allow full screen. Back it up if you have made changes to it before!
This is amazing news Looki! Thanks so much.
Full screen! That would be uber Yummy!
rotating the camera is cool![]()
noScale seems to work, but content outside the desired app screen size is visible if the flash player is not at the correct aspect ratio.Originally Posted by Looki
exactFit works as expected.
noBorder works as expected.
showAll seems to work, but content outside the desired app screen size is visible if the flash player is not at the correct aspect ratio.
In FullScreen mode it seems that the keyboard becomes disabled. Also is it possible to make it so that the On Fullscreen Request event trigger is able to be customizeable? ie. Select something other than the left mouse button?
So far so good though.
Thanks again.
Yes I have thought about that creating custom triggers. Wouldn't be too hard to add.
However, after reading a bit I found out that it is impossible to get keyboard events in fullscreen:
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/Stage.html#displayState
"StageDisplayState.FULL_SCREEN Sets AIR application or Flash Player to expand the stage over the user's entire screen, with keyboard input disabled."
![]()
Thanks for the info.Originally Posted by Looki
Bad design decision by Adobe though.
After doing more research, I found out that you can still use tab, spacebar and the arrow keys (And escape to exit the fullscreen mode). That's at least enough for simple games![]()