what kind of system do you have? cpu speedd..
browsers aren't very fast in rendering animations and stuff (whoever thought
of the name DynamicHTML, was hoping that better programmers would develop
browsers and operating systems)

the "choppy" effect might be normal browser-problems..



Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens Matt Fair
> Verzonden: zondag 21 januari 2001 19:22
> Aan: [EMAIL PROTECTED]
> Onderwerp: [Dynapi-Help] dynlayer drag and setSize
>
>
> 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
>


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to