• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How do I upload data alongside my image upload?

Participant ,
Apr 18, 2014 Apr 18, 2014

Copy link to clipboard

Copied

How do I upload additional variables alongside an image upload? My code doesn't seem to be working.

                    temp.upload(new URLRequest(serverURL));

                    var variables:URLVariables = new URLVariables();

 

                              variables.my_name = "Jackson" ;

                              variables.my_state = "Missisippi" ;

 

                    var request:URLRequest = new URLRequest(serverURL);

                    request.method = URLRequestMethod.POST;

 

                    // Put parameters into request.data

                    request.data = variables;

 

                    // Perform the upload

                    temp.upload(request);

Thanks!

TOPICS
ActionScript

Views

287

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 18, 2014 Apr 18, 2014

Copy link to clipboard

Copied

LATEST

hi, i dont know if this can help you, i made the script to upload image and data. hiere is the files check if this help you.
if no please explain more your question.

FIles atached: http://www.faraday.mx/Adobe/uploadPicAndData.rar

regards.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines