How to not Import Everything?
Ok, i've got a fairly simple problem. I don't want to globally open some specific packages. (for name overlapping instances, etc.)
So i simple want to be able to create an object like such:
Code:
this.square = new AS.Geo.Square();
But that throws the following error:
Code:
**Error** C:\~~\asv301\AS\UIMng\Index.as : Line 10, Column 21 : [Compiler] Error #1046: Type was not found or was not a compile-time constant: Square.
var square:AS.Geo.Square;
ReferenceError: Error #1065: Variable Timeline0_64312f8557c4d469a75a66628e9025 is not defined.
Which confuses me, because it works fine if i import it such as:
Code:
import AS.Geo.Square;
So any ideas?