going from one mxml page to other


hi, new flex.

i have made 2 mxml pages. want connect 2 pages through use of button.

i.e. have button on main page, want when clicked, should direct me mxml page have designed. can tell me how>

there various ways implement want


1. can use popup window code

     var titlewindowinstance:screenname    = screenname(popupmanager.createpopup(this, screenname    , true));

     popupmanager.centerpopup( titlewindowinstance );


2. can use <mx:state ... />(you can search flex states & transitions.) on click of button can change currentstate = "newstatename"


refer:

http://www.adobe.com/livedocs/flex/201/html/states_039_07.html

http://opensource.adobe.com/wiki/display/flexsdk/enhanced+states+syntax

http://www.adobe.com/devnet/flex/quickstart/creating_states/


thanks.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???