To make this work anyway, you have to have the adobe applet to view the pdf, so maybe Flex can set a variable like a symophor, that a javascript timerpop is waiting for and either the javascript or FLEX can set the content/src value of the applet to the newly downloaded element holding the PDF.
Main Topics
Browse All Topics





by: vickerleungPosted on 2007-10-16 at 00:58:24ID: 20083765
Hi Wim,
I don't think Flex can keep track of your PDF creation process. (I mean having a progress bar with percentage complete) It can only track PDF loading (download) progress, however Flex itself can not show PDF document, so track loading is useless in that case.
Flex itself can talk with the HTML container using JavaScript and External API. So it is possible that Flex call HTML with variable passing. However based on the point that Flex completely loaded a PDF not equals to the HTML can use that cached PDF, so I don't think this approach is possible. (Flex and Browser's data cache position might be different).
Though... I don't think loading PDF inside Flex will be far away from now. They are all Adobe's product.
Cheers
Vicker