I’ve posted before that the
DragManager does not seem to do very well with loaded applications. You may
want to try to get the DragManager to start doing something (anything) from the
main application before attempting the drag and drop in the loaded one. I don’t know quite what you’d
do, I haven’t played around with it. Matt From: Alessio Prosperi
[mailto:[EMAIL PROTECTED] I still haven't found a solution to the problem described
below. Could you please help me and send me some suggestion? Thanks Alessio ----- Original Message ----- From: Alessio Prosperi
Sent: Thursday, March
24, 2005 10:25 AM Subject: [flexcoders] drag
and drop problem! Hi to everyone, I developed a e-commerce solution based on drag'n'drop.
I split the main application in small sub-applications so I can load every
section only if it's necessary. I load every section in a Loader object inside a Panel (as
in Flex samples - drag'n'drop). I have a component (in the loaded application) that starts
the drag operation. The problem is: the drag doesn't start when Flex fires
mouseDown event (I have a component inside the application loaded in the
Loader). Why should I change the mouseDown event in mouseMove event
(otherwise the drag doesn't start)? example: main.mxml <?xml version="1.0"
encoding="utf-8"?> drag.mxml <?xml version="1.0"
encoding="utf-8"?> If
I run drag.mxml the drag starts correctly. If I run main.mxml the drag doesn't
start: I must use mouseMove instead of mouseDown event. Is this a Flex bug? However,
even using mouseMove event, the dragged object doesn't exit from the Panel. How
can I resolve this situation? If
I run the Flex example of drag and drop, the object can move
outside its application limits only if the scrollbars are missing. Don't
you find it strange? Anyway I don't have scrollbars so this is not my problem I
only liked to tell you. I
need help as soon as possible! Alessio
Prosperi ------------------------------------------ Adacto s.r.l.
Yahoo! Groups Links
|