Is there a way to manage different screens resolution? I want to make my flash application suitable for many devices, E71 ,nokia 6120 classic and so on.
Printable View
Is there a way to manage different screens resolution? I want to make my flash application suitable for many devices, E71 ,nokia 6120 classic and so on.
Of course there is. Assuming that you are using FlashLite 2 or 3 (AS2), you can check the values of:
Stage.width
Stage.height
(just make sure that: Stage.scaleMode = "noScale" when checking those values)
You can also test the screen orientation:
if (Stage.width > Stage.height)
Then it's up to you to rearrange everything that needs to be, according to the screen resolution.
Hi,
For more information about making a single swf to work on multiple screen. I recommend following documentations:
[URL="http://www.forum.nokia.com/info/sw.nokia.com/id/20cf3990-94c5-4351-8621-90ce2fa39954/Flash_Lite_UI_Design_Guide_for_Keypad_and_Touch_Devices.html"]Flash_Lite_UI_Design_Guide_for_Keypad_and_Touch_Devices.html[/URL]
[URL="http://www.forum.nokia.com/info/sw.nokia.com/id/c11bdaac-f2a7-403b-8ea0-1b7da33ac419/Sudoku_Master_Designing_a_FL_Game.html"]Sudoku_Master_Designing_a_FL_Game[/URL]
[URL="http://www.forum.nokia.com/info/sw.nokia.com/id/8edb4149-cd63-4c8e-b47d-f3b7d73b1bba/Flash_Lite_Sudoku_Example.html"]Flash_Lite_Sudoku_Example[/URL]
Hope it helps & Wish u luck ;)
Best Regards,
SajiSoft
What RomanAge and Sajisoft say are correct and would suit scenarios like Form based applications.
But if you are creating games or apps in which positioning of items on the screen are crucial, then its better to create separate files. Or use a different frame for each screen size..