  | | | AsBroadcaster doesn 't work in MX 2004 | AsBroadcaster doesn 't work in MX 2004 2004-03-14 - By Dominico Savio
Back I got this code from FlashCoder =========== obj=new Object(); ASBroadcaster.initialize(obj); a = {hello:function () {trace('"a" can hello!!!')}} b = {hello:function () {trace('"b" can hello!!!')}} c = {hello:function () {trace('"c" can hello!!!')}} obj.addListener(a); obj.addListener(b); obj.addListener(c); //call the listeners obj.broadcastMessage("hello") ============
and it works fine in MX but not in MX 2004 (it not out put the traces). Is my MX 2004 got a bug?
Dominic
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106927 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |