10 Replies Latest reply on Sep 22, 2010 4:03 PM by suludi81

    Is my application blind?

    suludi81

      Hi,i stumbled upon a problem that i just can't figure it out.I have a main MXML application file,and a components folder where i put all my parts for the application.The problem is that one of my functions is not visible to my main file,and i really can't understand why.

      The component works fine if i put the code in my main file,but i really need it to be instantiated.I just cant figure it out why it is not seing the function,all i get is the error "call to a possibly undefined method onAppComplete.

       

      Here is my script block in MXML component,and all there is to it is that i call the function in CreationComplete property in my main file.

      Any help would be very appreciated!!!

       

      Untitled.jpg