The implementation below works, just feels dirty, but damn does it feel good to know I'm not the only one!
----- Original Message ----- From: "Muzak" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Tuesday, October 18, 2005 5:54 PM Subject: Re: [flexcoders] Using DataSelector Hi Jesse Been trying to tackle this numerous times in the past and never gotten it to work properly. I usually ended up (you've guessed it) not using the mixin and writing/implementing the needed methods/properties in the class itself. Since I usually didn't need the full functionality of the DataSelector it wasn't that big a deal. I know this doesn't help solve the problem, but maybe it takes away some of the frustration ;-) Been there, done that, doesn't work :/ regards, Muzak ----- Original Message ----- From: "JesterXL" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Tuesday, October 18, 2005 6:39 PM Subject: Re: [flexcoders] Using DataSelector > My solution until someone tells me of a better one (not to use mixins > doesn't count). > > public static var mixinModifyCall = mixinModify(); > > private static function mixinModify():Void > { > EditableForm.prototype.oldDataSelectorModelChanged = > EditableForm.prototype.modelChanged; > EditableForm.prototype.modelChanged = function() > { > this.oldDataSelectorModelChanged.apply(this, arguments); > onModelChanged.apply(this, arguments); > }; > } > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/