Just to confirm for the list, the voodoo is definitely attached to parameters of type IFactory :)
-Josh On Wed, Sep 17, 2008 at 2:37 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > I'll try it out soon and let you know if that's it :) > > > On Wed, Sep 17, 2008 at 2:35 PM, Matt Chotin <[EMAIL PROTECTED]> wrote: > >> We may have special logic for IFactory to turn it into a ClassFactory if >> the value passed is a string in MXML. >> >> >> On 9/16/08 9:27 PM, "Josh McDonald" <[EMAIL PROTECTED]> wrote: >> >> >> >> >> If it does I can't find it, ListBase.set itemRenderer() simply takes an >> IFactory. Could the compiler be hard-coded to look for IFactory fields and >> generate a factory (and a reference to the class while it's at it) whenever >> it's encountered? >> >> -Josh >> >> On Wed, Sep 17, 2008 at 2:03 PM, Matt Chotin <[EMAIL PROTECTED]> wrote: >> Check the source for list, I think it's putting [ClassReference] metadata >> on the declaration of the property? >> >> >> On 9/16/08 4:49 PM, "Josh McDonald" <[EMAIL PROTECTED]> wrote: >> >> >> >> >> Hey guys, >> >> There's some voodoo in MXMLC that includes classes in the .SWF when you >> put the qualified class name as a string into itemRenderer="" on mx:List, >> etc. What triggers this, and how can I use it for my own components? Is it >> only for IListItemRenderers? Some sort of interface you impl on the >> "container" component? Hardcoded to look for the built-in list components? >> Obviously I can use "{package.ClassName}", but I'd like it to look as much >> like the standard component library as I can, of course :) >> >> Cheers, >> -Josh >> >> ------------------------------------ >> >> -- >> 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 >> >> >> >> >> >> >> ------------------------------------ >> >> -- >> 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." > > http://flex.joshmcdonald.info/ > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]