Are you trying to upload to a server, a server database, or upload the files to your server then emailattach?

When sending a form I use this format.
You can adopt it if you wish. I am not sure on the file transfer,
but if you google "flash upload AS2" I know you'll find it.

EG:
on (release) { //on the submit button
        //Creates a LoadVars and get values from the form
        myFormData = new LoadVars();
        myFormData.subjectField = subjectField;
        myFormData.name = name;
        myFormData.name2 = name2;
        myFormData.address1 = address1;
        myFormData.address2 = address2;
        myFormData.city = city;
        myFormData.STATE = STATE;
        myFormData.zip = zip;
        myFormData.phone = phone;
        myFormData.fax = fax;
        myFormData.email = email;
        myFormData.commentxt = commentxt;

        myFormData.sendAndLoad('scripts/sendmail.php', myFormData, 'POST');
_parent.status = 'sending now ...'; //"status" is a dynamic text box outside the form.

        //Show success or fails message
        myFormData.onLoad = function (success) {
                if(success) {
                        _parent.status = this.status;
                } else {
                        _parent.status = 'sending failed';
                }
        };
}

B.O.L.

Karl


On Jun 19, 2009, at 3:45 PM, TS wrote:

I just have a getURL triggering after an alert is closed and it's sending all these vars through with it. Is there a way to get rid of these var names
and values before sending them out?

&reset=[type+Function]&obj=_level0.depthChild0&uploadURL=http%3A%2F%2F
%2Fupload%2Falbums.php%3Faction%3Dupload_content%26system_member_id% 3D58669% 26album_id%3D25%26album_name%3DProfile+Pictures%26album_type% 3Dphoto&files=[ object+Object] &totalSize=0&uploadingFileIndex=1&uploading=false&uploadedSize =114852&allTypes=[object+Object]&imageTypes=[object+Object] &listener=[object +Object]&alertClickHandler=[type+Function]&fileRef=[object+Object] &btnCancel Listener=[object+Object]&btnBackListener=[object+Object] &btnAddFilesListener
=[object+Object]&btnUploadListener=[object+Object]&searchKey=9598

Thanks, T

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to