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.
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:
Flash_Lite_UI_Design_Guide_for_Keypad_and_Touch_Devices.html
Sudoku_Master_Designing_a_FL_Game
Flash_Lite_Sudoku_Example
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..