yyn0210 / alivepdf

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

Problem with adding alivepdf library to project in Flash CS3 #252

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
HI I know that this maybe funy problem, but I cant add alivepdf library to my 
flash/actionScript 3.0 project. I have got something like that:

import org.alivepdf.pdf.PDF;
import org.alivepdf.layout.Orientation;
import org.alivepdf.layout.Size;
import org.alivepdf.layout.Unit;
import org.alivepdf.display.Display;
import org.alivepdf.saving.Method;
import org.alivepdf.fonts.FontFamily?;
import org.alivepdf.fonts.Style;
import org.alivepdf.colors.RGBColor;
btn.label = "chose file";
btnC.visible = false;
data_mc.visible = false;
progress_mc.bar.scaleX = 0;
progress_txt.visible = false;
picture_mc.visible = false;
btnA.visible = false;
PDF.visible = false;
var urlPDF:URLRequest = new URLRequest("http://www.site.com/PDF/create.php"); 
// we create the PDF 
var myPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );
All the time I have got such a mistake: 1046: Type was not found or was not a 
compile-time constant: PDF. var myPDF:PDF = new PDF( Orientation.LANDSCAPE, 
Unit.MM, Size.A4 );

1180: Call to a possibly undefined method PDF. var myPDF:PDF = new PDF( 
Orientation.LANDSCAPE, Unit.MM, Size.A4 );

What am I doing wrong, or what is wrong?

Original issue reported on code.google.com by sebastia...@gmail.com on 14 Jun 2010 at 2:02