Hello, I learned a lot now about broadcasting events, but still haven't achieve my initial intention, which was as follows:
I want to have a class (kind of black-box), I call MyUIObject. Then I want to create instances of MyUIObject: var uio:MyUIObject = new MyUIObject(); I want to have a classical on event mechanism: uio.onSomething = function() { trace(this._something); } And I want to change the value of a "property" in an implicit way: uio._something = "hello"; 1. --> uio._something might be a property of MyUIObject, which was set up using the set/get keywords. But this way it would be private and code-completion in ASDT for example would not work. I want it to be public, because it should "feel" and behave like _x,_y,_alpha, _visible, etc. known from the intrinsic MovieClip class. 2. --> I want that the trace command above would output the new value I assigned to _something, not the former one (undefined). So perhaps I missed something, but I still don't get this right. :-( Can you help me out with this? Thanks, Matthias _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com