Open capilkey opened 12 years ago
I tried testing the MDI binaries to reproduce this issue, but I have a runtime error.
You can see that the values are the same by comparing the values from the official Adobe Flex documentation for the ResizeEvent to the flexlib MDIWindowEvent.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/events/ResizeEvent.html#RESIZE https://github.com/flex-users/flexlib/blob/master/library/src/flexlib/mdi/events/MDIWindowEvent.as#L47
The issue that I'm having is that the MDI example doesn't work for me at all, I have a runtime error.
The value for the MDIWindowEvent.RESIZE constant is "resize" this is the same as the Flex 3 mx.events.ResizeEvent.RESIZE constant. This causes a conversion exception to be thrown whenever an MDIWindow is resized by any means.
The MDIWindowEvent.RESIZE String should be changed to something unique such as "resizeMDIWindow". This needs to be changed in both the MDIWindowEvent.as file as well as the MDIWindow.as file.
You can reproduce the error by using Firebug with FlashFirebug and trying to maximize or minimize a window.