Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7848873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:21:30+00:00 2026-06-02T18:21:30+00:00

I am developing a desktop application in flex wherein i have 2 screen(i.e is

  • 0

I am developing a desktop application in flex wherein i have 2 screen(i.e is mxml windowedapplication) .i want to navigate from one one screen to another(from mxml file to another) .how can i do it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:21:31+00:00Added an answer on June 2, 2026 at 6:21 pm

    you can use ViewNavigator in your desktop applications, just need to do some tricks

    1. add to your project StageOrientationEvent class

      package flash.events
      {

      public class StageOrientationEvent extends Event
      {
          static public const ORIENTATION_CHANGE:String = "orientationChange";
          static public const ORIENTATION_CHANGING:String = "orientationChanging";
      
          public function StageOrientationEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
          {
              super(type, bubbles, cancelable);
          }
      }
      

      }

    2. create new skin for ViewNavigator

      < s:Skin xmlns:fx=”http://ns.adobe.com/mxml/2009″ xmlns:s=”library://ns.adobe.com/flex/spark”
      xmlns:fb=”http://ns.adobe.com/flashbuilder/2009″ alpha.disabled=”0.5″ >

      <fx:Metadata>[HostComponent("spark.components.ViewNavigator")]</fx:Metadata>
      
      <fx:Script fb:purpose="styling">
          <![CDATA[         
      
              override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
              {
                  super.updateDisplayList(unscaledWidth, unscaledHeight);
              }
          ]]>        
      </fx:Script>
      
      <s:states>
          <s:State name="normal" />
          <s:State name="disabled" />
          <s:State name="landscape" />
          <s:State name="portrait" />
          <s:State name="landscapeAndOverlay" />
          <s:State name="portraitAndOverlay" />
      </s:states>
      
      <s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" minWidth="0" minHeight="0">
          <s:layout>
              <s:BasicLayout/>
          </s:layout>
      </s:Group>
      

      < /s:Skin>

    3. Add mobilecomponents.swc to your project (you can find it in flex sdk folder, in my case path is C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\mobile\mobilecomponents.swc)

    4. assign your new ViewNavigator skin (step 2) to ViewNavigator

    direct to ViewNavigator instance:

    <s:ViewNavigator skinClass="path.to.skin.ViewNavigatorSkin"/>
    

    or globally in css

    s|ViewNavigator{
         skinClass: ClassReference("path.to.skin.ViewNavigatorSkin");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a Flex Air (desktop) application that loads images from the local filesystem
We have a dilemma; developing desktop application using Matisse or Jigloo.. Matisse has this
Hey I am developing an desktop application using Spring and Hibernate, and I have
I am developing a desktop application for pdf file management using C#. When I
I am developing a Java desktop application and would like to have an external
I am developing a desktop application that will need to collect data (from the
Im developing desktop java application using maven. I got a *.properties file that I
I am developing a desktop application using pyside(qt), I want to access(iterate) all line
I am developing Mac desktop application, where I am capturing the screen using CGImageRef
I'm building a desktop application in Flex/AIR, and one of the current items on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.