Denys Hryvastov wrote: > Hi All - > > I have a question about embedding SWF into PDF (dynamically) using > iText-5.0.2. I need to created some kind of PDF reports using Fusion > Chart and pass some parameters to this Fusion Chart graph dynamically > (ideally from XML file). I was searching some information about this use > case in the mailing list archive but the only answer that I saw was that > it is not supported to pass parameters (flashvars). > Is it still not supported in the 5.0.2 version? If it is supported > already - are there any piece of sample code?
Yes, take a look at these examples: http://examples.itextpdf.com/results/part4/chapter16/festival_calendar1.pdf http://examples.itextpdf.com/results/part4/chapter16/festival_calendar2.pdf In the first example, a date is passed to the SWF using FlashVars, and that date is used to fetch data from a site. In the second example, you pick a date by clicking a PDF button. That date is sent to the SWF and the corresponding data is downloaded. The second example explains how to establish the communication between PDF Javascript and Flash ActionScript. ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
