Saturday, October 27, 2007

Error 5001: The name of package "com.x.y" does not reflect the location of this file

took me 2 hours to debug !!

finally reason is you must set your document class same as your package

e.g class = y.as
package com.x{
public class y{
public function y(){
}
}
}

when you run from Flash CS3 Make sure your document class is com.x.y where y = class name

1 comment:

Anonymous said...

Pretty nice post. I just stumbled upon your weblog
and wanted to say that I have truly enjoyed surfing around your blog posts.
In any case I will be subscribing to your rss feed and I hope you write again very soon!


Here is my site; google themes