> Why can't I add any properties to an AS3 Event object?  I get a 1056: cannot
> create property prop-name on Event....
> Event extends Object, right?

Event is not a dynamic class. In AS3, you can only add properties to
dynamic classes. So, as everyone else has mentioned, you have to
extend Event to create a custom event class. Don't forget to override
the clone method and create a new event!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to