2 Replies Latest reply on May 28, 2009 7:50 AM by Phoenix_Guru

    Creating an Array of specific Objects

    Phoenix_Guru Level 1


      Have a look on the following example...


      Class Shape


           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?