changing window size
Monkey Targets Forums/Flash/changing window size
| ||
im using v56b and was wondering how do i change the screen size to 480x800.Everything ive tried always ends up in a 640x480 screen. |
| ||
Edit the MonkeyGame.html in your .build folder. Perhaps you have to edit your MonkeyGame.as too. [SWF(width="480",height="800")] |
| ||
Just change it in the HTML and ActionScript in your build directory and it will persist between builds. |
| ||
Yes, like Volker I'm not sure whether it will do to edit just one. |
| ||
yes that was it i was forgetting to alter the MonkeyGame.as.Thanks guys it works fine now. |
| ||
I'm having issues with this, I change the html and the top of the .as file to reflect the window size I want to use but when I run it in chrome the screen is messed up, it like centers the screen and crops half the bottom of it right off. |
| ||
have you changed both the MonkeyGame.html and the MonkeyGame.as. When i only changed the MonkeyGame.html i got the same results as youve just described. |