I've got a bunch (say, 1k) of data in Flex, and I want to get that data to an HTML page, where some JavaScript will slice-and-dice the data and generate a report.
What's the simplest way to get it there?
I've considered passing it as part of the url, for example:
navigateToUrl("report.html?data=" + serialized_report_data)
But, apart from being more than a little bit hacky, URLs aren't supposed to be "that long", so it could cause problems.
Alternately, I could use an HTTPService to post the data to a server, which would send a URL back to Flex, then Flex could navigateToUrl
that URL, which would show the data. This would work, but it also seems more complex than it needs to be.
So, is there any better way?