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

make HTTPService url 'dynamic'?


Level 1
What's the best way to pass a parameter to the HTTPService in
the URL? For example, a SessionID or other standard http/url

This would be run-time determined, of course, and couldn't be
hard-coded in the mxml or action-script (though the root of the URL

Thanks in advance,

3 Replies


Not applicable

<httpService etc.>








Would be a variable that would be set at runtime.


Level 1
Yes (I'm going to mark that as the answer).

The key to me was setting that var as bindable and using the
HTTPUtil class to retrieve the value from the parameters on the
html (owner) page's url. Then the creationComplete() function
actually does some work
before doing the HTTPService.send().

Thanks for taking the time to reply. I've posted a few things
(that I don't see totally out of the ordinary), and it seems to be
a bit of a "cold" forum at times. 😞