[Flashcoders] [AS2] Warning: broadcastMessage is not a function

2008-04-15 Thread Helmut Granda
Hi all, I am testing some one else's code and when I compile it the first thing I get is : Warning : broadcastMessage is not a function. The application works properly but it is annoying to get this messages. Has anyone found a similar issue? I tried to declare the function in the first frame

Re: [Flashcoders] [AS2] Warning: broadcastMessage is not a function

2008-04-15 Thread Jason Van Pelt
In AS2 you could use broadcastMessage similar to the way you use dispatchEvent in AS3, but you have to import the classes, set up the listeners, and I think alter the prototype of the class broadcasting the message. In sepy I had a snippet set up for adding broadcasting to a class. Here are its