1 Reply Latest reply on Jul 22, 2008 10:59 AM by Jason Szeto

    Newbie Custom Component Question (Please help)

    nIvelyx Level 1
      Hi all,

      I'm fairly new to Actionscript 3, and I am looking for advice as to why this code doesn't work properly. I have created a custom component that extends the text field component. I placed my actionscript code in a file called SmarterSearching.as. The file is located in the myComponents folder of my project (one level below the main.mxml document). When I run the code, I do not receive any errors. The page loads up, as expected. The problem that I am running into is that my component is not displaying anything. Also, can anyone explain the warning that I am getting in actionscript stating that my 'variable key has no type declaration'. I have attached my code for you to review.

      I really appreciate your help. I hope someone can shed some light on this for me.

      Thank you