You need to listen to the static constant in the A_window class, because
it's a static property, not dynamic. You were referencing the dynamic
instance of the class.  So instead of:

MyWindow.addEventListener(MyWindow.CLOSE, onClose);

use:

MyWindow.addEventListener(A_window.CLOSE, onClose);


Jason Merrill
Bank of America  
GT&O and Risk L&LD Solutions Design & Development 
eTools & Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GT&O Innovative Learning Blog & subscribe.


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to