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:
But that throws the following error:Code:this.square = new AS.Geo.Square();
Which confuses me, because it works fine if i import it such as: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.
So any ideas?Code:import AS.Geo.Square;





Reply With Quote