Look for an example of ViewStack in the livedocs. --- In [email protected], vnice Cute <[EMAIL PROTECTED]> wrote: > Hello All; > Please how can i add (include a panel) to the mxml file. > > Please see the attached code > > Thanks > Attach Code > > <?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" pageTitle="SMET Project"> <mx:Style source="style.css"/> <mx:Canvas width="100%" height="100%"> <mx:HBox width="100%" height="100%">****************************************************** Including Panel here depended on the selected canvas****************************************************** > > <mx:Panel id="detailsPanel" width="100%" height="100%"> <mx:TabNavigator id="tn" width="100%" height="100%"> <mx:Canvas label="SMET Team"> </mx:Canvas> <mx:Canvas label="Inputs"> </mx:Canvas> <mx:Canvas label="Reports"> </mx:Canvas> <mx:Canvas label="Projects"> </mx:Canvas> <mx:Canvas label="Charts"> </mx:Canvas> <mx:Canvas label="Forums"> </mx:Canvas> <mx:Canvas label="Chat"> </mx:Canvas> <mx:Canvas label="Logout"> </mx:Canvas> </mx:TabNavigator><!-- <mx:ControlBar> <mx:Button label="Write Review" /> </mx:ControlBar> --> </mx:Panel> </mx:HBox> </mx:Canvas></mx:Application>********************** The Panel 1 ********************** <mx:Panel id="smetnav" title="Home" width="210" height="100%" textAlign="center" fontSize="14"> > <mx:Form> <mx:Label text="About > SMET Team"/> </mx:Form> </mx:Panel> > > > > ********************** The Panel 2 ********************** <mx:Panel id="Inputs" title="Home" width="210" height="100%" textAlign="center" fontSize="14"> <mx:Form> <mx:Label text="About Input forms"/> </mx:Form> </mx:Panel> > > > > > --------------------------------- > Click here to donate to the Hurricane Katrina relief effort.
------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

