wiln / alivepdf

Automatically exported from code.google.com/p/alivepdf
0 stars 0 forks source link

Extremely anoying addImage bug #108

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Option 1:    
myPDF.addPage();
myPDF.addImage(print_certificate1)

2. Option 2:
myPDF.addPage();
myPDF.addImage(print_certificate1, 0, 0, 0, 0, ImageFormat.JPG, 100, .2 );

What is the expected output? What do you see instead?
Option 1 worked, flash outputed with out a hitch on Friday 6th 2009. 
Reoutputed the same file on Monday 9 2009 - came with the follwing error:

ArgumentError: Error #2015: Invalid BitmapData.
    at flash.display::BitmapData()
    at org.alivepdf.pdf::PDF/addImage()
    at ActionScript3_fla::MainTimeline/drawDataToPrintCertificate()
    at ActionScript3_fla::MainTimeline/frame2()

Checked alifePDF site for proper syntax, which brings me to Option 2. 
Flash gives 1120: Access of undefined property ImageFormat.

What version of the product are you using? On what operating system?
AlivePDF 0.1.4.6 / Adobe Flash CS3 / WinXP Pro.

Please provide any additional information below.

Original issue reported on code.google.com by koay...@gmail.com on 9 Mar 2009 at 3:11

GoogleCodeExporter commented 9 years ago
Hi there,

Can you try with the latest version (0.1.5 RC) on the SVN and let me know?

Thanks!

Thibault

Original comment by thibault.imbert on 24 Jan 2010 at 2:00

GoogleCodeExporter commented 9 years ago
This is realy strong problem! Please fix it!

Original comment by tava...@gmail.com on 24 Nov 2010 at 11:51