RE: [flexcoders] How can I reference the particular item I am using?

2006-06-21 Thread Shannon Hicks
My guess would be to give the image an ID...     I doubt the syntax is right, but I think that's the right idea...   Shan   __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoder

Re: [flexcoders] How can I reference the particular item I am using?

2006-06-21 Thread Paul BH
try this:function someFunction (event:Event):void{  var refToMyComponent = event.target ;}On 6/21/06, Charles <[EMAIL PROTECTED]> wrote: Hi everyone,This post title isn't all that descriptive but I couldn't think of a better one.  The question is pretty straightfor

[flexcoders] How can I reference the particular item I am using?

2006-06-21 Thread Charles
Hi everyone,This post title isn't all that descriptive but I couldn't think of a better one.  The question is pretty straightforward though.  I think it's best explained with an example.  Let's say I have an image... Now, let's say that if I click the banner, I want to do something with, say