GithubHelp home page GithubHelp logo

yuxiangtong / flex-drag-n-drop-lib Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 176 KB

Automatically exported from code.google.com/p/flex-drag-n-drop-lib

HTML 86.22% JavaScript 3.74% CSS 2.94% ActionScript 7.10%

flex-drag-n-drop-lib's People

Watchers

 avatar

flex-drag-n-drop-lib's Issues

_dragInitiator should be assigned to event.currentTarget

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

RTE thrown duing some debugging processes

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.