This content has been marked as final. Show 4 replies
you store the path as a public member and just before you call the information.send() method, you set the its url property like:
information.url = Application.application.path;
So for example if I had a html textbox where the user could enter the filename called "filename_txt" then when i was ready to get the data in the flex app I would set as follows
information.url = application.application.filename_txt;
Yes, sure. Just remember you'll be access 'text' property of the textbox. And if your filename_txt is in the same MXML where the information service is defined, you'd only say:
information.url = filename_text.text
Assuming that filename_text contains a valid URL, it should work.
No, filename_txt is an html textbox in a standard web page which the user can choose the file he wants to work with. I then want to pass this to the swf file and open the contents of this file in a datagrid. But I can't use flashvars because it passes the parameter to the swf file at page load.