0 Replies Latest reply on Dec 27, 2010 9:28 PM by harry_lai84

    how to assign default value to fileReference.browse()

    harry_lai84 Level 1

      Before processing a file and info upload to server, I have it check to see if a file is selected witht the fileReference.browse()


      private function valid():Boolean
          var result:Boolean=true;   
          return result;


      If the user didn't hit the browse button to select a picture, how could I set a default url image for it?

      It didn't work by doing so fileReference.data = "http://mydomain/noimage.jpg"


      Any tips or thought would help.