> I have a panel that contains a viewStack with two children. One of
> the children is a tabNavigator and the other is a panel. The goal is
> to have the tabNavigator show if the screen resolution is 800X600 and
> the panel to show for resolutions above 800X600. I've tried several
> different ways to do this, but none have been successful. I was
> wondering if anyone else had tried to do this dynamically.
More than the resolution, you care about the amount of space available
to your application, right?
You could get the exact width and height of the stage using the following code:
var w:Number = systemManager.stage.stageWidth;
var h:Number = systemManager.stage.stageHeight;
Based on the values, you can set the selected index of your ViewStack.
Manish
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

