I have the following simplified mxml application but want to know how to move the label to a new component and the Button to a different component (both components then being in the application). More specifically I cannot determine how to "address" the variable names and/or event listeners between components (ie component A event bubbles up to application but then does not "bubble" down to component B). Thanks in advance.
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768" xmlns:components="components.*"> <fx:Script> <![CDATA[ import vos.BoringVO1; [Bindable] public var vo : BoringVO1; public function button1_clickHandler(event:MouseEvent):void { vo = new BoringVO1; } ]]> </fx:Script> <mx:Label id="theLabel" text="{vo.wall}"/> <s:Button click="button1_clickHandler(event)" x="82" y="3"/> </s:Application> ------------------------ package vos { public class BoringVO1 { [Bindable] public var wall : String = "Hello World"; } } -- View this message in context: http://www.nabble.com/Binding-between-components-tp24061284p24078417.html Sent from the FlexCoders mailing list archive at Nabble.com.

