Namespaces
Variants
Actions

Archived:Flash Lite - Auto resize Flash Lite application

Jump to: navigation, search
Archived.png
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

We do not recommend Flash Lite development on current Nokia devices, and all Flash Lite articles on this wiki have been archived. Flash Lite has been removed from all Nokia Asha and recent Series 40 devices and has limited support on Symbian. Specific information for Nokia Belle is available in Flash Lite on Nokia Browser for Symbian. Specific information for OLD Series 40 and Symbian devices is available in the Flash Lite Developers Library.
Article Metadata

Article
Created: rsuthar (14 Mar 2008)
Last edited: hamishwillee (14 May 2013)

My idea for the same will be like

Take a variable which maintain current status of application

I mean to say,

Initially application will start with noScale mode.

Stage.scaleMode = "noScale";

So that you can get proper height and width of screen due to fullScreen mode.

then after change Stage mode to normal mode means

Stage.scaleMode = "exactFit";

Using this you can code your elements and height as well width ratio.


For initial loading this thing will enough, I think :).

Then after,

You have to place a timer where mentioned function will return Stage height and width,

Using same, changing mode.

We can’t handle stage resize event because that event will work only in noScale stage scale mode.

Ravindra Suthar

This page was last modified on 14 May 2013, at 09:10.
115 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved