i don't recall the details, but we ran into issues in corner cases and
prefer to see each step
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Friday, September 28, 2007 7:41 AM
To: flexcoders@yahoogroups.com
On the money once again Alex, thanks.
I've not eliminated startDrag() and stopDrag() from my code as things
seem to work correctly now, but am curious to know why you avoid them.
Can you provide some of your reasoning?
Thanks,
Ben
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED]
One more thing: It is related to mouseDown in a TextField which is in
the Panel title. In my testing, if I grab the white content area and
drag I do not have a problem. Makes me think that if you put an alpha=0
sprite over the textfield in the panel's title it might work better in
IE, but I
Dang Alex, you're the man. I never would have figured out its because
of the textfield. Your proposed solution of an invisible item over the
titlebar works perfectly, and since my real use case is a subclass of
Panel I can easily integrate this approach.
One odd thing maybe you can enlighten me
at createChildren, this.width could be 0
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Thursday, September 27, 2007 7:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: MOUSE_LEAVE never fires in IE if
Hi Alex,
Not quite sure how to take your comment. Do you mean file it against
the player or whatever?
Regarding the avoidance of startDrag/stopDrag, I take it you mean I
should rewrite the code to utilize DragManager?
Thanks,
Ben
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL
You should file against the player. They should fix it. However, since
that scenario is not recommended in Flex, I'm not going to verify it.
And yes, use DragManager or your own code (Panel has its own code)
From: flexcoders@yahoogroups.com [mailto:[EMAIL
I will definitely file a bug against the player but in my initial
exploration am seeing some deal-breaker shortcomings of both
DragManager and Panel's built-in approach. Panel's
stage_mouseLeaveHandler() listens for MOUSE_LEAVE so it suffers from
the same fate as startDrag(). DragManager, as far
In your snippet, it looked like you were trying to drag a panel. Is that
true or are you dragging components in a panel?
Maybe I don't get what is wrong with IE and MOUSE_LEAVE because as far
as I know MOUSE_LEAVE does work. It really should be called
MOUSE_UP_OUTSIDE_STAGE. It does not fire
I am dragging a panel. MOUSE_UP_OUTSIDE_STAGE accurately describes
what happens in Firefox, but in IE nothing fires at all. If you run
the code from my initial post in both browsers you will see what I mean.
It does not fire when you drag out of the stage.
Not sure what you mean by that since in
I see. I dind't realize you were saying that MOUSE_LEAVE doesn't work
properly in IE at all. I thought you were saying that startDrag() was
messing it up.
So yeah, I tried it myself and it isn't working right. I don't think
you even need to startDrag(), just listen for MOUSE_LEAVE and it
Actually, the player team already has a bug for this issue.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Wednesday, September 26, 2007 10:13 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: MOUSE_LEAVE
12 matches
Mail list logo