--- In [email protected], "colin.ashe" <ca...@...> wrote: > > Hi, > > I've been banging my head on the wall for the last few days over this problem > - hopefully one of you can help. > > I'm writing a program to visualize the movement of some particles and I've > written a class, which extends UIComponent as the main visual element. This > class then uses the Flint Particle System library to handle the actual > particle dynamics. I'm using Flash Builder 4 and spark components wherever > possible. Here's the problem: every time I compile, I get: > > 1046: Type was not found or was not a compile-time constant: OilApp. > > I've checked the compiler settings and told it to look in the appropriate > package/folder for the class file. I've set the appropriate XML namespace > and the IDE knows about the class and will autocomplete code related to the > class. However, evidently, the compiler doesn't know about it. > > Could anyone suggest what I could do to fix this. My head (and wall) can > only take so much more of this.
Usually, that just means you did not include an import statement to import the class into the class that is using it. HTH; Amy

