This content has been marked as final. Show 6 replies
p.s. your listener doesn't have any method applied to it so it does nothing.
Thank you for your reply. Unfortunately, your code seems to give me the same error, even after copying and pasting it verbatim into Flash. Is it something on my end? The error was:
1061: Call to a possibly undefined method addListener through a reference with static type flash.net:FileReference.
I am aware that the listener basically does nothing at this time. I did attach an onSelect function on my first example but I wanted to isolate it to make sure that was not what was giving me the same error.
i didn't realize you were using as 3.
Thank you for your answer! You're completely right, I didn't know I was reading AS 2.0 docs in trying to get this to work, and being new, I couldn't for the life of me figure out what was wrong.
I guess my first clue is that the suggesting editor didn't suggest "addListener" but like I said, I'm too new to figure that out :)
So, with your help I was able to now utilize addEventListener to catch my Select event. Thanks again!