Jeff - Right on both counts. Thanks!
- Tom At 06:31 PM 3/17/2005, you wrote: >I'll take a guess that you are using Christophe's Pod.as. If that is the >case, you'll need to change class definition in that file to indicate the >correct package name. So instead of class Pod extends Panel it should be >class com.test.components.Pod extends Panel. > >ActionScript classes need to be referenced with their proper package name >in the class definition. > >Jeff Tapper >blog: jeff.mxdj.com > >At 05:58 PM 3/17/2005, you wrote: > >Xmlns:mk="com.test.components.*" > > > >Make sure the * is there in the end. > > > >Matt > > > > > >---------- > >From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED] > >Sent: Thursday, March 17, 2005 2:46 PM > >To: [email protected] > >Subject: [flexcoders] Class path for component > > > >I'm getting an error when I try to instantiate a component using a > classpath. > > > >In my application tag, I set a class path of > >xmlns:mk="com.test.components". In the folder com/test/components I have > >the Pod.as class. When I try to create a component with: > > > ><mk:Pod id="test" title="Test Pod"> > > > ></mk:Pod> > > > >I get an error: > > > >"The class being compiled, 'Pod', does not match the class that was > >imported, 'com.test.components.Pod'" > > > >This class works fine when I have it in the same directory as the app and > >invoke it without the classpath abbreviation. > > > >Any ideas? > > > >Thanks. > > > >- Tom > > > > > > > > > > > > > > > >Yahoo! Groups Sponsor > >ADVERTISEMENT > ><<http://us.ard.yahoo.com/SIG=129mi8jta/M=298184.6191685.7192823.3001176/ > D=groups/S=1705007207:HM/EXP=1111186692/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075>http://us.ard.yahoo.com/SIG=129mi8jta/M=298184.6191685.7192823.3001176/D=groups/S=1705007207:HM/EXP=1111186692/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075> > >click here > > > > > > > >---------- > >Yahoo! Groups Links > > * To visit your group on the web, go to: > > * > > > <<http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group/flexcoders/ > > > > > > * > > * To unsubscribe from this group, send an email to: > > * > > > <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] > > > > > * > > * Your use of Yahoo! Groups is subject to the > > > <<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Yahoo! > Terms of Service. > > >Yahoo! Groups Sponsor >ADVERTISEMENT ><http://us.ard.yahoo.com/SIG=1296qc4s2/M=298184.6191685.7192823.3001176/D=groups/S=1705007207:HM/EXP=1111188689/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075> >click here > >[] > > > >---------- >Yahoo! Groups Links > * To visit your group on the web, go to: > * > <http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group/flexcoders/ > > > * > * To unsubscribe from this group, send an email to: > * > <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] > > * > * Your use of Yahoo! Groups is subject to the > <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service. 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/

