Have a look on the following example...
private var box:Box;
Now what I want is, to make the box object of type ArrayCollection, in a way so that, the person using the Shape class would be restricted to provide value for box class, in the form of ArrayCollection of Box type of objects only.
How should I do that?
I'm not sure if I understand the question, but the ArrayElementType metadata tag may be helpful.
public var boxes:Array;
Let me know if that helps...
Thank Alot Ben!!
This is exactly what i needed.. Yippi!!!