Hello developers,
in a custom component, I defined an event in metatag like this
[Event(name=dragEnd, type=flash.events.Event)]
public class ta extends TextArea
{
}
Now inside this component how do I add the event listener for
this event which was defined in
try addEventListener(dragEnd,startPanAndZoom);
addEventListener expects a string containing the event name as its
first argument.
On 25/10/2009, at 10:00 AM, hworke wrote:
Hello developers,
in a custom component, I defined an event in metatag like this
[Event(name=dragEnd,
Thanks for the answer and also for the explanation.
Regards
On Sat, Oct 24, 2009 at 4:35 PM, Guy Morton g...@alchemy.com.au wrote:
try addEventListener(dragEnd,startPanAndZoom);
addEventListener expects a string containing the event name as its first
argument.
On
I also want to add that the metadata only affects code hinting. You'll
still need to dispatch that event from within your custom component.
Vivian Richard wrote:
Thanks for the answer and also for the explanation.
Regards
On Sat, Oct 24, 2009 at 4:35 PM, Guy Morton
I did that this way:
this.dispatchEvent(new Event(dragEnd));
On Sat, Oct 24, 2009 at 5:53 PM, Jeffry Houser j...@dot-com-it.com wrote:
I also want to add that the metadata only affects code hinting. You'll
still need to dispatch that event from within your custom
5 matches
Mail list logo