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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
you can use ViewNavigator in your desktop applications, just need to do some tricks
add to your project StageOrientationEvent class
package flash.events
{
}
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″ >
< /s:Skin>
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)
assign your new ViewNavigator skin (step 2) to ViewNavigator
direct to ViewNavigator instance:
or globally in css