Hello,
is it actually possible to add a new property
to an AS3-component, like button? I try:
import fl.controls.Button;
var button:Button = new Button();
button['old_item'] = 42;
//button.old_item = 42;
addChild(button);
but get the run-time error:
ReferenceError: Error #1056: Cannot create property old_item on
fl.controls.Button.
at Untitled_fla::MainTimeline/frame1()
Regards
Alex
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders