Hi metSyS,

I would recommend you make WaveCube extend ObjectContainer3D. Doing so
will allow you to use view.scene.addChild(waveCube);

ObjectContainer3D has no default handlers for width, height and depth
so you can implement them in your WaveCube class.

Normally you do so by using something like:

/////////////////

private var _width:Number;

public function get width():Number
{
   return _width;
}

public function set width(value:Number):void
{
  _width = value;
}

///////////////

Also, you do not need to add the [SWF(...)] meta-tags to all your
classes only the main one (Display_Wave_Cube).

ath.

Jerome.

Reply via email to