Unless the TabNavigator control was altered for 2.0, you want to 
look for the "change" event, not "click".

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


Doug

--- In flexcoders@yahoogroups.com, "Stacey Mulcahy" <[EMAIL PROTECTED]> 
wrote:
>
> 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: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of nextadvantage
> Sent: Wednesday, February 01, 2006 2:43 PM
> To: flexcoders@yahoogroups.com
> 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
> <http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+site
> 
+design+development&w2=Computer+software+development&w3=Software+desi
gn+and+
> 
development&w4=Macromedia+flex&w5=Software+development+best+practice&
c=5&s=1
> 66&.sig=L-4QTvxB_quFDtMyhrQaHQ>  site design development 
> 
> Computer
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=Web+si
> 
te+design+development&w2=Computer+software+development&w3=Software+de
sign+an
> 
d+development&w4=Macromedia+flex&w5=Software+development+best+practic
e&c=5&s
> =166&.sig=lvQjSRfQDfWudJSe1lLjHw>  software development 
> 
> Software
> <http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=Web+
> 
site+design+development&w2=Computer+software+development&w3=Software+
design+
> 
and+development&w4=Macromedia+flex&w5=Software+development+best+pract
ice&c=5
> &s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  design and development 
> 
> 
> Macromedia
> <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+deve
> 
lopment&w2=Computer+software+development&w3=Software+design+and+devel
opment&
> 
w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s
ig=OO6n
> PIrz7_EpZI36cYzBjw>  flex 
> 
> Software
> <http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&w1=W
> 
eb+site+design+development&w2=Computer+software+development&w3=Softwa
re+desi
> 
gn+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
actice&
> c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  development best practice 
> 
>  
> 
>  
> 
>   _____  
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>   
> *      To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
>   
> *      Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service. 
> 
>  
> 
>   _____
>







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


Reply via email to