Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to Pass string to HTTPService


Level 2

I have a scenario here where I have a repeater function like
the example at
CheckBox Controls Dynamically

I have manipulated my function so that it displays its
strings at

private function button_click(evt:Event):void {

var selArr:Array = [];

var idx:int;

var len:int = arr.length;

for (idx=0; idx<len; idx++) {

if (checkBox[idx].selected) {




var message:String = selArr.join("\n");, title);


The problem is I need to manipulate the message string so I
can pass it on to the HTTPService so I can enter the individual
information in a query to search through a database. How do I
actually pass the message string to the HTTPService and handle the

I don't think I can do a <string>message</string>
here because it never worked. Have I missed something here?

Thanks to anyone who can help.


0 Replies