Flex 2, display URLLoader result data (PDF document) in html page
Posted on 2007-10-15
I'm working on an existing PHP application, where on of the features involves generating PDF documents from various data in the (MySQL) DB, by calling a php page, that outputs the generated PDF document. Depending on the amount of data, this can take a long time.
So I thought about using a small Flex application to load the pdf document (URLlLoader), and retrieve the progress of the PDF generation until the page is loaded. Afterwards the document must be displayed to the user, preferably in the html page containing the Flex swf. Is there a way to pass the result data to the containing html page? If not, can it be displayed in the flex application itself?