Can I define a custom class to be an AsBroadcaster in the classes constructor?
i.e.
class myClass{
function myClass(){
AsBroadcaster.initialize(this);
}
}
And if so will that give me the ability to addListeners to an instance of that class?
The reason I want this approach is because I want to broadcast events from inside one of the custom classes methods and I want a textField on the stage to be listening for that broadcast message.
If I can’t do what I want… does anyone know how I can accomplish what I need?
Cheers.