Hello,
I have a layer which its size will be changing. This layer can also be
draged, when I don't change the size of the layer with
layer.setSize(w,h) or layer.w=w; layer.h=h; the layer drags smoothly,
but when called these the layer drags very choppy. The same thing
happens if I have DragEvent.setDragBoundary(layer), if I take this out
it drags smoothly.
For example:
layer = new DynLayer();
layer.moveTo(20,20)
layer.setSize(40,20) //if taken out this drags smoothly
layer.setHTML("<p>Hello World</p>")
DragEvent.setDragBoundary(layer) //or if this is taken out this
drags smoothly
DragEvent.enableDragEvents(layer)
Is there something with these two that would make it drag choppy?
Thanks
Matt
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help