I think it would have to be done in the MXML compiler during binding function creation.
On Mon, Nov 17, 2008 at 9:13 AM, Amy <[EMAIL PROTECTED]> wrote: > --- In [email protected], Keith <[EMAIL PROTECTED]> wrote: > > > > Thanks Pat, > > Sorry I used a bad example earlier, yes I could do that with events > but > > I meant like using it in other properties that > > "event" is not available. . > > > > Here's a better example situation where I'd wish for a > shortcut "self" > > reference to each component. > > For example if I wanted to assign the current component's height in a > > Binding expression for the current component's width property. > > > > <mx:CheckBox width="{self.height}" /> > > You could monkey patch UIComponent and give it a "me" property. > > :-) > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] :: http://flex.joshmcdonald.info/ :: http://twitter.com/sophistifunk

