6 Replies Latest reply on May 25, 2007 5:54 AM by kglad

    FileReference and addListener error?

    Bodero1
      Hello,

      I am relatively new to ActionScript programming, so maybe this is a simple thing that I can't seem to figure out.

      I've tried to copy the code from Adobe's FileReference and upload example, but I can't seem to get it to work. I've since started a new project and narrowed the code down to the following, and it still doesn't work! I have attached my simple, basic code.

      Here is the error message I received:

      1061: Call to a possibly undefined method addListener through a reference with static type flash.net:FileReference.
      Source:
      uploadFile.addListener(listener);

      Thanks!