Your problem is that you are invoking the service on creation complete
which is before the ID variable is set.
Move the service.send() out of the creationComplete event and into the
initVars() function after you have set the ID variable.
Also, change the url parameter of your HTTPService to:
Thank you, it does help it works now.
Around midnight I downloaded the mxml/zip file on this page
(http://blogs.adobe.com/flexdoc/2008/04/using_html_page_as_a_data_prov.html)
and it describes exactly what you told me but thanks to you I now
understand why it didn't work and now does.
Merrick
2 matches
Mail list logo