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 the class path and its ok. It's not really a problem seeing as I have the functionality I want it just seems that it sound work the other way.
bear in mind the renderer is an mxml file, not an AS file, just in case that makes a difference. I know it shouldn't as it's compiled down to a class anyway. oh well. thanks. --- In flexcoders@yahoogroups.com, "Johannes Nel" <[EMAIL PROTECTED]> wrote: > > is your main mxml page also in the src folder or said another way have you > added the src folder to your class path > > 2008/1/25 Sherif Abdou <[EMAIL PROTECTED]>: > > > src does not count so it would be "com.blah.blah.foo" > > > > ----- Original Message ---- > > From: Glenn Williams <[EMAIL PROTECTED]> > > To: flexcoders@yahoogroups.com > > Sent: Friday, January 25, 2008 12:50:07 PM > > Subject: [flexcoders] itemRenderer in folder other than source root > > > > > > > > > > > > Ok, this must be simple by i can't see it. > > > > > > > > Take this example > > > > > > > > <mx:List id="myListNav" itemRenderer="ListRenderer" /> > > > > > > > > Say its part of a file foo.mxml that's in the folder src\com\blah\ > > blah\foo. mxml > > > > > > > > The itemRenderer is ListRenderer. mxml > > > > > > > > No problems right. > > > > > > > > What I can't figure out is how I can put ListRenderer. mxml anywhere apart > > from the source root src\ListRenderer. mxml > > > > > > > > itemRenderer=" what do I put here if I want to add a path other than root > > to the render? " > > > > > > > > I know I can add the Renderer with AS, but there must be a simple way to > > use the code above. > > > > > > > > ta > > > > > > > > > > > > Glenn Williams > > > > <tiny*lion**:*dev/> > > > > > > > > 10 Print "glenn " > > > > 20 Goto 10 > > > > 30 Rem " was that really 1982? it seems like only yesterday " > > > > > > > > > > ------------------------------ > > Looking for last minute shopping deals? Find them fast with Yahoo! Search.<http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping> > > > > > > > > -- > j:pn > \\no comment >