I seem to be having an issue getting the click event from the Tab Navigator when its in a popup window- can someone confirm if they have a chance?

 

Main file to lauch popup:

 

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" layout="absolute">

<mx:Script>

            <![CDATA[

                import mx.managers.PopUpManager;

                       

             public function launchWindow(){

                    var notesWindow=PopUpManager.createPopUp(this, testwindow, true);

                     notesWindow.title="Test";

                    notesWindow.closeButton=false

                PopUpManager.centerPopUp(notesWindow);

                       

                  }

            ]]>

</mx:Script>

            <mx:Button label="launch" click="launchWindow()"></mx:Button>

</mx:Application>

 

 

// FILE to be lauched in pop up (testwindow.mxml)

<?xml version="1.0" encoding="utf-8"?>

 

 

<mx:TitleWindow dropShadow="true" panelAlpha="0.9" xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" initialize="">

 

 

<mx:Script>

            <![CDATA[

                        import flash.util.trace;

                        public function onTabClick(){

                          trace(notes_viewstack+"NOT WORKING FOR ME");

                        }

            ]]>

 

</mx:Script>

 

<!--VIEW-->

       <mx:TabNavigator id="notes_viewstack" click="onTabClick()">

                        <mx:VBox marginLeft="10" marginBottom="10" marginRight="10" marginTop="10" label="Add Note">

                         <mx:HBox width="100%">

                          <mx:Label text="Name:"></mx:Label>

                          <mx:Text width="150" fontWeight="bold"></mx:Text>

                         </mx:HBox>

                        </mx:VBox>

                    <mx:VBox marginLeft="10" marginBottom="10" marginRight="10" marginTop="10" label="Edit Notes">

                         <mx:HBox width="100%">

                          <mx:Label text="Notes:"></mx:Label>

                          <mx:ComboBox id="notes_cmb" width="150" fontWeight="bold" labelField="name"></mx:ComboBox>

                        </mx:HBox>

                   </mx:VBox>

            </mx:TabNavigator>

</mx:TitleWindow>

 

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of nextadvantage
Sent: Wednesday, February 01, 2006 2:43 PM
To: [email protected]
Subject: [flexcoders] issue with combo box 100%

 

I have 2 vboxs set to 100% width and inside each are combo boxes set
to 100% width. The issue I have is when the data provider has a large
set of characters it blows out the vboxs past 100% how can I make the
combo boxes 100% without them blowing out?






--
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




Reply via email to