Little fix to ObjectHandles [Bug]

2 views
Skip to first unread message

Chetan Sachdev [www.riageeks.com]

unread,
Nov 12, 2009, 5:54:54 PM11/12/09
to Flex ObjectHandles
I have used ObjectHandles extensively in one of my project and found a
issue in lock method. I created a dustbin/recycle bin, kind of image
and used a HitTest, if hit happens then onMoved event, I remove that
OH from the canvas. But, issue was, after removing my cursor was
changed to "moving" cursor, i.e '+'. To fix this, I modified lock
method and added cursorManager.removeCursor(currentCursorId); and it
fixes this issue.

Hope it helps someone.

--
Best Regards;
Chetan Sachdev
[http://www.riageeks.com]

Gregory Tappero

unread,
Nov 12, 2009, 6:30:59 PM11/12/09
to object...@googlegroups.com
Great this problem on Object handle 1 has been bothering me for so
long that i had to remove cursor ;)
Could create a patch on your objecthandle.as vs orginal using
http://www.friendpaste.com for example ?

Or just give me the file name and line nbr.

Cheers,

Greg

Chetan Sachdev

unread,
Nov 13, 2009, 5:01:59 AM11/13/09
to object...@googlegroups.com
The method name is "lock" and you have to add "cursorManager.removeCursor(currentCursorId);" in the lock method.

Note: This is for the issue, when you are trying to remove OH and it leaves your cursor changed.
--
Best Regards;
Chetan Sachdev
Reply all
Reply to author
Forward
0 new messages