0 Replies Latest reply on Jul 3, 2012 11:32 AM by tjnelso

    Error when using URLLoader

    tjnelso Level 1

      I have been trying to read a text file from my local machine for a couple days now. Searching online I have found multiple tutorials that give examples similar to the following:


      http://sierakowski.eu/list-of-tips/47-loading-an-external-text-file-with-actionscript-3.ht ml


      I have tried to duplicate this method but always get the same error message when trying to manipulate my URLLoader variable. My code is below:




      The error message reads: 


      Multiple markers at this line:

      -1120: Access of undefined property myLoader.

      -1120: Access of undefined property loadComplete.


      I can't seem to fix this error and have no idea what I'm doing wrong. This seems like such a simple task that I am getting very frustrated. Can anyone enlighten me?