yuxiangtong / flex-drag-n-drop-lib Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/flex-drag-n-drop-lib
Automatically exported from code.google.com/p/flex-drag-n-drop-lib
Once DnDManager.doDrag is called from an event triggered by a complicated
component, it would throw up something like:
x.core::UITextField@###### can not be converted to mx.core.UIComponent
that was because event.target is the precise element user drags, and it may
not be an UIComponent. I think the solution is change line 74 of
DnDManager.as:
_dragInitiator = UIComponent(evt.target);
to:
_dragInitiator = UIComponent(evt.currentTarget);
Original issue reported on code.google.com by [email protected]
on 29 Oct 2009 at 8:59
What steps will reproduce the problem?
1. place a break point on DnDManager.doDrag()
2. run a debug session
3. perform a drag action
What is the expected output? What do you see instead?
A Run Time Error is thrown from within the
mx.managers.dragClasses::DragProxy.mouseUpHandler where it makes generates
a null pointer reference on the lastMouseEvent property. I suspect that
the act of debugging causes a mouseLeaveHandler on the stage to trigger
during the processing of the break point, breaking the logic to assign a
value to the lastMouseEvent.
Solutions will probably entail extending the DragProxy class in order to
check for the null value.
Please use labels and text to provide additional information.
Original issue reported on code.google.com by jwopitz
on 14 Jul 2008 at 3:00
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.