RE: [flexcoders] Adding Components on the Fly

2006-08-25 Thread Gordon Smith
mx:Button click=clickHandler(event)/ mx:Script private function clickHandler(event:Event):void { var myImage:MyImage = new MyImage(); myImage.source = ...; addChild(myImage); } /mx:Script - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Adding Components on the Fly

2006-08-25 Thread Faisal Abid
comSubject: RE: [flexcoders] Adding Components on the Fly mx:Button click="cli