Hi all,

          I am using Flash CS3 and working with ActionScript3.0, which is a
new platform for me.

         I have flash code for File-uploading. Flash application uploads a
file present in local system and when "Submit_btn" in flash application is
clicked, then the file with whole contents is to be uploaded whose code
looks like this:


//AS3 code for file-upload:

        Submit_btn.addEventListener(MouseEvent.CLICK,onUploadSubmitbtn);
        function onUploadSubmitbtn(evnt:MouseEvent):void
   {
    var url:String = "http://localhost:8888/SampleApplication/attachment";;
    var request:URLRequest = new URLRequest(url);

    var variables:URLVariables = new URLVariables();
            variables.xvalue = String(temp_x);
            variables.yvalue = String(temp_y);
            variables.attachment=upload_txt.text;
            trace("xvalue"+variables.attachment);

            request.data = variables;
             navigateToURL(request);
  }

           Now, my requirement is, this file which is to be uploaded, should
be passed to Servlet(say "FileUploadServlet.java").
           Actually, i need to store these contents of uploaded file into
backend database.


          It's very urgent...   Reply me please...
          Thanks in advance....

Srihari.Ch

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to