Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

MDIWindowEvent.RESIZE String constant issue #369

Open
capilkey opened this issue Jul 17, 2012 · 3 comments
Open

MDIWindowEvent.RESIZE String constant issue #369

capilkey opened this issue Jul 17, 2012 · 3 comments

Comments

@capilkey
Copy link

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.

@Mansuro
Copy link

Mansuro commented Jul 19, 2012

I tried testing the MDI binaries to reproduce this issue, but I have a runtime error.

@capilkey
Copy link
Author

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

@Mansuro
Copy link

Mansuro commented Jul 19, 2012

The issue that I'm having is that the MDI example doesn't work for me at all, I have a runtime error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants