On Mon, Feb 1, 2010 at 11:53 AM, beno - <flashmeb...@gmail.com> wrote:

> On Mon, Feb 1, 2010 at 11:24 AM, Nathan Mynarcik <nat...@mynarcik.com>wrote:
>
>> It seems as though you might have more than one issue here. Without seeing
>> the folder structure and the AS and fla files, there is not much I can do.
>
>
This problem is now solved, but for the benefit of anyone who googles this,
here's the solution:

I have the following import statement:

import Explosion;

in which I have the following line:

class explode extends DisplayObject3D

I get this error:

5008: The name of definition "explode" does not reflect the location of this
file.

The reason for this error is because the class must be named by the same
name as the *.as file. So I changed it to:

class Explosion extends DisplayObject3D

and all is well...at least with that error!
beno
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to