DynAPI 2.5.6, IE 5.5.
When doing DragEvent.enableDragEvents() on a layer which hasn't been created yet, you get the following error:
Line: 144 Char: 2 Error: 'frame.lyrobj' is null or not an object
This is in dragevent.js
Logged In: YES user_id=164855
This has been fixed. Please download the latest snapshot, and try it again: http://dynapi.sourceforge.net/snapshot/
I'll leave this bug open for a few days so others see it too.
Richard Bennett
Logged In: NO
add it to a parent object immediately after creating it. Then the layer can exist before you move it.
myLayer=new DynLayer(null,100,100,100,100,'#c0c0c0') DynAPI.document.addChild(myLayer) DragEvent.setDragBoundary(myLayer) DragEvent.enableDragEvents(myLayer)
Log in to post a comment.
Logged In: YES
user_id=164855
This has been fixed.
Please download the latest snapshot, and try it again:
http://dynapi.sourceforge.net/snapshot/
I'll leave this bug open for a few days so others see it
too.
Richard Bennett
Logged In: NO
add it to a parent object immediately after creating it.
Then the layer can exist before you move it.
myLayer=new DynLayer(null,100,100,100,100,'#c0c0c0')
DynAPI.document.addChild(myLayer)
DragEvent.setDragBoundary(myLayer)
DragEvent.enableDragEvents(myLayer)