IS-A = Inheritance HAS-A = Composition Inheritance: Rose extends Flower
Composition: MyGarden.rose = new Rose() hth, Cedric > I want it to match examples as: > Bathroom HAS-A Baththub. > Cat IS-A Feline. > Cat IS-NOT-A Simalian, but Cat HAS-A Simalian owner. > MovieClip IS-A Sprite, but a Sprite can HAVE-A MovieClip child. > Loader HAS-A Sprite accessible by the "content" property. > Bitmap HAS-AN associated BitmapData. > Socket IS-AN IDataOutput, but Socket IS also AN EventDispatcher. _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders