Well, I just tried that and the event still doesn't fire. Here is my
complete application...
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=init()
mx:Script
![CDATA[
import
Hmmm, thats pretty odd. I don't have Beta 2 available to test with but
that shouldn't be causing any issues because the code was written
against Flex 2. Are you able to capture other events from MDIManager?
What about events directly from the window?
Ben
Well, I have just installed Flex 3 beta 3 and tried it again. This is
the code:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=init()
mx:Script
![CDATA[
import
Further testing...This time I tried it in IE6 (Have been using Firefox
2.0.0.11). This gives the following (Abbreviated):
MDIManagerEvent: windowDragStart
MDIManagerEvent: windowDrag
MDIManagerEvent: windowDragEnd
MDIManagerEvent: windowDragStart
MDIManagerEvent: windowDrag
MDIManagerEvent:
What happens if you use the code found here?
http://www.returnundefined.com/flexmdi/explorer/srcview/index.html
Ben
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:
Further testing...This time I tried it in IE6 (Have been using Firefox
2.0.0.11). This gives the following
Just noticed that your code doesn't define any drag listeners on the
window, so thats why you're not seeing those. I would also check to
see what version of the player you have in each browser.
Ben
OK, my bad on the window drag listeners.
I just added them all in and tried on IE6. This gives me both
MDIWindow Drag Events and MDIManager Drag Events.
I then tried again on Firefox and everything worked. Huh??
Let me do some more testing.
--- In flexcoders@yahoogroups.com, ben.clinkinbeard
If I use that code then I get the drag events but that uses
mdiCanvas.windowManager. I don't want to use a canvas; I would much
rather use the global functions.
My application has a docked ApplicationControlBar and I want my
flexMDI windows to be able to float on top of this bar. The only way I
Well, color me totally confused. I have no idea what I did but now it
works (Although I still do not see any focus events; But I don't need
those right now).
Here is the pared down code which works...
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
Strange indeed :) I know the code I pointed you to used a canvas, I
just wanted to see if that made a difference. Maybe try converting
that file to use the global instance and see if that works?
Ben
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:
Well, color me totally
Maybe I will give that a try.
I have been thinking about why it suddenly worked. When you asked what
version of Flash Player I was running, I went to
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507 to
find out. The page came up quite quick but the movie took about 15
seconds. I
Hi Steve,
I think something else must be interfering with your code. If you
paste the following code (pretty identical to yours) into a Script
block in a new Flex project you should see windowDragEnd traced out
to the console. (init() is called in creationComplete)
import
12 matches
Mail list logo