My program is set up
      MyProject
           >away3D folders
           >Foo.as
           >Bar.as
           >Foo.fla

Foo.as and Bar.as are set
package {
    public class Foo {

          //fields
         public function Foo() {
              ...
          }

     ....
}}

Foo.fla has Foo as its class and Foo has a Bar object in its
declaration and uses it fine. This program works fine...

Then I add a collision.as file which has some code to check for
collisions. It does some weird stuff with arrays, but other than that
it seems normal. I set it up the same way as Foo and Bar.

Then I stick one line,
    private var colMap:collision;
in my working Foo.as field declarations. My project goes from working
fine to doing nothing, no errors it just acts as if I have no code. I
can't debug it because it has no code to debug. If I get rid of that
line it works fine...

How can one line that is never evaluated change the program that
much??? Any help would be great, I'd hate to toss all this seemingly
good collision code.

Reply via email to