[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Looking Adobe Flex  Post that works

Posted on 2011-02-18
2
Medium Priority
?
427 Views
Last Modified: 2012-05-11
Here is the example I am trying to use.
The varables I am passing will change with every call, so a fixed form will not work.

This is what I tried, it calls the page but does not pass the data.
I have done post data in many other langues but can not see why this is so much trouble.

parameters = "command=save&text=Text&comment=none"

service = new HTTPService();
service.url = "http://domain.com/index.php";
service.method = "POST";
service.send(parameters);
0
Comment
Question by:yahoolane
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
deepanjandas earned 2000 total points
ID: 34931638
parameters should be an object instead of string:

var parameter:Object = {};
parameter.command="save";
parameter.text="Text";
parameter.comment="none";
service.send(parameter);

Warm Regards
Deepanjan Das
0
 
LVL 1

Author Closing Comment

by:yahoolane
ID: 34932810
Yep by adding this Line
I can make pass any Key pair


parameter[eventTXT]=eventVal;

Now to test event/error  Handeling
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
With its various features, Office 365 can not only help you with your day-to-day business tasks, it can also do wonders for your marketing campaign.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question