17 Replies Latest reply: Jul 1, 2008 10:44 AM by kglad RSS

    Document Class access of button on a specific frame

    sneakyimp Community Member
      I have a button that exists on a certain frame in my flash movie. I'm getting a null reference error when I try to compile the movie. Here's what the trace window reports:

      onConnect1 running! chatService has connected.
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at MethodInfo-289()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at net.flashmog::FlashMOGService/socketConnectHandler()


      The code is attached.