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:
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?
Retrieving data ...