Re: [flexcoders] passing data to an EventListener

2007-03-30 Thread Muzak
You can use the data property, which is normally used in combination with item renderers or item editors, but nothing says you can't use it for something else ;-) import mx.controls.Button; private function appInit():void { var offset:Number = 0; for (var i:Number=0; i10; i++) {

RE: [flexcoders] passing data to an EventListener

2007-03-30 Thread Tracy Spratt
Hey, that IS a clever idea, thanks! Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Friday, March 30, 2007 5:53 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] passing data to an EventListener You can