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






Reply via email to