0 Replies Latest reply on Sep 7, 2007 8:02 AM by Newsgroup_User

    Boradcaster and Listener

    Level 7
      All,

      I am having a hard time with the concept of broadcasters and listeners in
      class-based ActionScript. Ideally I would like to have an object be able to
      react to an action from another object, and also ideally, have the code for
      both in the .as files for each object's class. For example, I would like a
      click function in an object of type A to be able to invoke a function in an
      object of type B.

      At any rate I find the examples using the AsBroadcaster class and other
      similar examples in many of the AS oop books difficult to follow (and to
      implement).

      Could someone point me to an article or book that clearly explains how to go
      about the above.

      Many thanks to anyone who replies to this.

      Marc Lee