[flexcoders] Re: itemRenderer in folder other than source root

2008-01-26 Thread Glenn Williams
No, the class path is complete (no src) main mxml in root, views in com.foo.foo.foo.views, renderers in com.foo.foo.foo.renderers etc. I ended up just assuming that you can't use a class path in an mxml declaration. i know the class path is fine because now I#m setting the renderer with AS I use

Re: [flexcoders] Re: itemRenderer in folder other than source root

2008-01-26 Thread Paul Andrews
PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, January 26, 2008 2:46 PM Subject: [flexcoders] Re: itemRenderer in folder other than source root No, the class path is complete (no src) main mxml in root, views in com.foo.foo.foo.views, renderers in com.foo.foo.foo.renderers etc. I ended up

[flexcoders] Re: itemRenderer in folder other than source root

2008-01-26 Thread Glenn Williams
: Glenn Williams [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, January 26, 2008 2:46 PM Subject: [flexcoders] Re: itemRenderer in folder other than source root No, the class path is complete (no src) main mxml in root, views in com.foo.foo.foo.views, renderers

Re: [flexcoders] Re: itemRenderer in folder other than source root

2008-01-26 Thread Paul Andrews
Subject: [flexcoders] Re: itemRenderer in folder other than source root thanks mate, I already have that, accessing the component is fine, it only a problem with registering the item renderer with it (in the mxml code, ok if I add it with AS) just a strange one. No idea why this one wont

[flexcoders] Re: itemRenderer in folder other than source root

2008-01-26 Thread Glenn Williams
Well, I've finally gotten to the bottom of this. I knew it should have been working. I'd forgotten that I'd been testing the last nightly build of the SDK flex_sdk_3_192625 With this SDK it was always throwing an error, but as soon as I switched back to M4Beta3 all was well. LOL, Thanks for

[flexcoders] Re: itemRenderer in folder other than source root

2008-01-26 Thread Glenn Williams
RECAP: flex_sdk_3_192625 Take this example adding an itemRender to a List with itmeRenderer not in source root a file foo.mxml that's in the folder com\blah\blah\view\foo.mxml has element mx:List id=myListNav itemRenderer=com.blah.blah.renderer.ListRenderer / ListRenderer.mxml is in in

[flexcoders] Re: itemRenderer in folder other than source root

2008-01-25 Thread Glenn Williams
No, couldn't get it to work. It's fine using the class path in the now I've added the Renderer using AS with an initialize event on the List mx:List id=myListNav initialize=onInit() / script... public function onInit():void {

[flexcoders] Re: itemRenderer in folder other than source root

2008-01-25 Thread Glenn Williams
No, couldn't get tit to work. It's fine using the class path in the now I've added the Renderer using AS with an initialize event on the List mx:List id=myListNav initialize=onInit() / script... public function onInit():void {

[flexcoders] Re: itemRenderer in folder other than source root

2008-01-25 Thread Glenn Williams
I'll give it another try. Maybe i was just typing my class path incorrectly. This was the first thing i tried and was my expected method, just didn't work. I bet it was just typo. I'll have another look thanks 11b. Re: itemRenderer in folder other than source root Posted by: Johannes