0 Replies Latest reply on Oct 1, 2009 5:42 AM by manojmn007

    Regarding FileReference

    manojmn007

      Hello folks,

       

      I am very new to flex and evaluating its possibilities of integration with my existing backend tomcat. I was trying to get a file uploaded using FileReference Upload and it was not working at all. I saw some issues with Mac OS X and browsers with FileReference, so i tried to use a different method of reading the file and passing it as a request parameter to the backend.

       

      I have code where it says fileRef.data, and at this point the mxmlc compiler throws

      ./fileupload.mxml(31):  Error: Access of possibly undefined property data through a reference with static type flash.net:FileReference.

       

      I checked the documentation and found that data can be used for the contents of the file. However I think I am missing something here.

       

      Can you please help me?

       

      Regards,