so, I figured out the problem... I had decided to use the ? orperator a bunch in this file. In one instance I put this line aHole[4]==0 ? aHole[0] > perpDim : aHole[0] < perpDim inside an if statement conditional with a couple of other statements and separated them with an &&...turns out if you don't put () around the ? : statement the program ignores your code and runs as an empty movie...I think this should be looked into.
On Oct 4, 3:49 pm, DacoTrilar <[email protected]> wrote: > I currently have the CS4 suite flash 10.0.2, I believe that is the > latest version, yet it doesn't work. Any Ideas as to why it doesn't > work? Does flash limit the number of packages a actionscript file can > use? I'll post the project folder if someone thinks that will help. > > On Oct 3, 10:59 pm, katopz <[email protected]> wrote: > > > > > if you use CS4 plz try update > > hth > > > 2009/10/4 DacoTrilar <[email protected]> > > > > 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. > > > -- > > katopzhttp://www.sleepydesign.com-Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
