How can I access parent layer width and height :
FlowLayer = function() {
this.padding = 1;
this.actY = 0;
this.actX = 0;
}
FlowLayer.prototype = new DynLayer()
FlowLayer.prototype.flowChild = function(Layer) {
this.addChild(Layer)
Layer.moveTo(this.actX,this.actY)
Layer.setWidth(this.getWidth()) // is this o.k? I am triying to se
the same as parent width.
this.actY=Layer.getHeight()+this.padding
}
thanks.
Jorge C.
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help