|
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 I have 2 vboxs set to 100%
width and inside each are combo boxes set
SPONSORED LINKS
YAHOO! GROUPS LINKS
|

