Use addEventListener() for registering an event handler:
myLabel.addEventListener(MouseEvent.CLICK,
myFunction);You should take time to read about event handling in Flex/AS3 as
it's a basic and very important concept!
On Thu, Sep 25, 2008 at 4:33 PM, Ramsey, Robert L
[EMAIL PROTECTED]wrote:
JEMIA
Sent: Thursday, September 25, 2008 9:56 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] help w/ setting click events on dynamically created
linkbuttons
Use addEventListener() for registering an event handler:
myLabel.addEventListener(MouseEvent.CLICK, myFunction);
You should
,
Bob
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Haykel BEN JEMIA
*Sent:* Thursday, September 25, 2008 9:56 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] help w/ setting click events on dynamically
created linkbuttons
Use
with that?
Thanks,
Bob
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Haykel
BEN JEMIA
Sent: Thursday, September 25, 2008 9:56 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] help w/ setting click events on dynamically created
linkbuttons
Use
I advise using repeater with a custom clickable component.
Tracy
Goal: Display a list of items using a complex display for each item, and
have each of those items behave like a menu element and respond to a
click anywhere on the item by running a handler function.
One solution is to use a
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Thursday, September 25, 2008 8:02 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] help w/ setting click events on dynamically
created linkbuttons
I advise using repeater with a custom
6 matches
Mail list logo