Open GoogleCodeExporter opened 9 years ago
I've encountered this issue as well. MDIWindow generates the
MDIWindowEvent.RESIZE
event on resizing. It's parent class Panel generates ResizeEvent.RESIZE. It
appears
to be caused by MDIWindowEvent.RESIZE and ResizeEvent.RESIZE both being the
constant
"resize", which causes confusion in the flex event dispatcher. Until the code
is
fixed to use a unique event name, you can workaround this issue by manually
adding an
event listener instead of using binding, i.e.
this.addEventListener(ResizeEvent.RESIZE, resizeHandler);
instead of
<MDIWindow resize="resizeHandler(event)">
Not sure why the mxml generates the error but actionscript doesn't, but there
you go.
Original comment by por...@gmail.com
on 22 Dec 2009 at 12:00
Original issue reported on code.google.com by
Me.S...@gmail.com
on 5 Sep 2009 at 10:14