[flexcoders] Re: addEventListener and additional arguments?

2008-04-18 Thread Jason The Saj
Can you point me to some good simple examples. As someone who is coming from Flash/AS1 into Flex/AS3. I find that often Adobe's examples assume knowledge and seem written more for a Java developer moving to Flex rather than for older Flash developers moving toward Flex. Any good examples on best

Re: [flexcoders] Re: addEventListener and additional arguments?

2008-04-16 Thread Daniel Gold
gt; > > > > > > > > > > > From: flexcoders@yahoogroups.com [mailto: > flexcoders@yahoogroups.com ] On > > Behalf Of Jason The Saj > > Sent: Wednesday, April 16, 2008 11:54 AM > > To: flexcoders@yahoogroups.com >

[flexcoders] Re: addEventListener and additional arguments?

2008-04-16 Thread ben.clinkinbeard
> Behalf Of Jason The Saj > Sent: Wednesday, April 16, 2008 11:54 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: addEventListener and additional arguments? > > > > Okay then > > How do I do the simple act of "click" event call fu

RE: [flexcoders] Re: addEventListener and additional arguments?

2008-04-16 Thread Alex Harui
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason The Saj Sent: Wednesday, April 16, 2008 11:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: addEventListener and additional arguments? Okay then How do I do the simple act of "click" event cal

[flexcoders] Re: addEventListener and additional arguments?

2008-04-16 Thread Jason The Saj
Okay then How do I do the simple act of "click" event call function and pass a parameter value? This was easy in AS1/AS2/JS I could essentially just say... btnFoo.release = function (parameters){...} Now, it looks like i need to add an event listener. Then create a custom event. All so I

Re: [flexcoders] Re: addEventListener and additional arguments?

2007-02-16 Thread Troy Gilbert
ECTED] *On Behalf Of *Gordon Smith *Sent:* Thursday, February 15, 2007 3:45 PM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] Re: addEventListener and additional arguments? The expense is in making an "activation frame" (or something like that) for anonymous functions. I don

RE: [flexcoders] Re: addEventListener and additional arguments?

2007-02-15 Thread Francis Cheng
ated object. Francis From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Thursday, February 15, 2007 3:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: addEventListener and additional arguments? The expense is in making

RE: [flexcoders] Re: addEventListener and additional arguments?

2007-02-15 Thread Gordon Smith
ders@yahoogroups.com Subject: Re: [flexcoders] Re: addEventListener and additional arguments? How much worse is the performance? Are we talking on the order of a dozen or so extra instructions or orders of magnitude more? And I guess it would depend on the event being handled, right? Sure, it may

Re: [flexcoders] Re: addEventListener and additional arguments?

2007-02-15 Thread Troy Gilbert
lbert *Sent:* Wednesday, February 14, 2007 9:44 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: addEventListener and additional arguments? Remember, functions are objects to (so you can treat them like fancy functors in C++): var functor:Function = function(arg:String):

RE: [flexcoders] Re: addEventListener and additional arguments?

2007-02-15 Thread Gordon Smith
PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: addEventListener and additional arguments? Remember, functions are objects to (so you can treat them like fancy functors in C++): var functor:Function = function(arg:String):String { return arg + functor["param"]; } functor[&q

Re: [flexcoders] Re: addEventListener and additional arguments?

2007-02-14 Thread Troy Gilbert
ication (or whatever component you're writing). - Gordon ---------- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *darylgmyers *Sent:* Wednesday, February 14, 2007 7:42 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: addEvent

RE: [flexcoders] Re: addEventListener and additional arguments?

2007-02-14 Thread Gordon Smith
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of darylgmyers Sent: Wednesday, February 14, 2007 7:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: addEventListener and additional arguments? Gordon, I'm pretty new to Flex so I appologize for the additional questio

[flexcoders] Re: addEventListener and additional arguments?

2007-02-14 Thread darylgmyers
Gordon, I'm pretty new to Flex so I appologize for the additional question. Are you saying that I can add an instance property to the target so that it will be available in the event.target? What I'm actually doing is creating a set of form fields on the fly using action script. Some of these