Hello, I tried this:
PdfFileSpecification fs = PdfFileSpecification.fileEmbedded(stamper.getWriter(), "demo1.swf", "demo1.swf", null); stamper.addAnnotation(PdfAnnotation.createScreen(stamper.getWriter(), new Rectangle(pageunits.mm(60), pageunits.mm(60), pageunits.mm(60), pageunits.mm(60)), "Fox and Dog", fs, "application/x-shockwave-flash", true), 1); But it also doesn't work, but the acrobat asks for playing multimedia-content. Maybe there is a Problem with the visibility? Thank you Markus ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <itext-questions@lists.sourceforge.net> Sent: Saturday, January 19, 2008 3:51 PM Subject: Re: [iText-questions] Stamper and Annotation for embeding a SWF Hello, I'm using PDFStamper but it seem so that it doesn´t work with PDFAnnotation just Annotation works fine. How can I put a Annotation to the PDFStamper? Markus ----- Original Message ----- From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <itext-questions@lists.sourceforge.net> Sent: Friday, January 18, 2008 7:32 PM Subject: Re: [iText-questions] Stamper and Annotation for embeding a SWF > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Friday, January 18, 2008 6:22 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Stamper and Annotation for > embeding a SWF > > There is no exception. Yes there is. It should read "Unsupported in this context. Use PdfStamper.addAnnotation()". Paulo Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------------------------------------------------------------------------- > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/