Thanks for your reply,
I just tried out what you suggested, but didn't make any difference :(
It works when I leave the package name empty (this seems obvious).
But that wouldnt be a solution, because a class sitting somewhere else
wouldn't be able to access it.
On 7/15/06, John Grden <[EMAIL PROTECTED]> wrote:
it's a stab in the dark, but have you tried renaming your class to
somehting
different than the folder/package it sits in?
package nl.test{
public class MyClassTest{
public function MyClassTest(){
}
}
}
On 7/15/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
>
> Hellow,
>
> I'm currently exploring as3 with the free compiler and keep running
> against
> a seemingly strange problem.
> Here's my class:
>
> package nl.test{
> public class Test{
> public function Test(){
> }
> }
> }
>
> It's sitting in the directory c:\classes\nl\test. That directory is
added
> in
> the flex configuration file:
>
> <source-path>
> <path-element>c:\classes\</path-element>
> </source-path>
>
> I get the following error when I try to compile the class:
>
> C:\classes\nl\test\Test.as: Error: A file found in a source-path must
have
> the s
> ame package structure '', as the definition's package, 'nl.test'.
>
> This error also shows when I don't add the c:\classes to the source-path
> in
> the flex-config.xml.
>
> I'm really stuck, I can't figure out what I'm doing wrong, probably
> overlooking something..
> Does anyone know?
>
> regards,
> Meinte
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
--
John Grden
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com