tangs7 / alivepdf

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

CS3 Flash compiling errors #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sorry I'm not that experienced with Flash Script 3.0. But when I export the
file "alivepdf-flash-demo.fla" that came with the zip - it gives me 28
compiling errors. 

I am using Apple Mac, Adobe Flash CS3 Professional. Is there something I'm
not doing right? thanks for checking.

--- here is the complete list of errors ---

**Error** Séquence 1, Layer 'AS', Frame 1, Line 6: 1172: Definition
org.alivepdf.pdf:PDF could not be found.
     import org.alivepdf.pdf.PDF;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 7: 1172: Definition
org.alivepdf.layout:Orientation could not be found.
     import org.alivepdf.layout.Orientation;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 8: 1172: Definition
org.alivepdf.layout:Size could not be found.
     import org.alivepdf.layout.Size;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 9: 1172: Definition
org.alivepdf.layout:Unit could not be found.
     import org.alivepdf.layout.Unit;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 10: 1172: Definition
org.alivepdf.display:Display could not be found.
     import org.alivepdf.display.Display;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 11: 1172: Definition
org.alivepdf.saving:Method could not be found.
     import org.alivepdf.saving.Method;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 12: 1172: Definition
org.alivepdf.fonts:FontFamily could not be found.
     import org.alivepdf.fonts.FontFamily;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 13: 1172: Definition
org.alivepdf.fonts:Style could not be found.
     import org.alivepdf.fonts.Style;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 14: 1172: Definition
org.alivepdf.colors:RGBColor could not be found.
     import org.alivepdf.colors.RGBColor;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 6: 1172: Definition
org.alivepdf.pdf:PDF could not be found.
     import org.alivepdf.pdf.PDF;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 7: 1172: Definition
org.alivepdf.layout:Orientation could not be found.
     import org.alivepdf.layout.Orientation;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 8: 1172: Definition
org.alivepdf.layout:Size could not be found.
     import org.alivepdf.layout.Size;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 9: 1172: Definition
org.alivepdf.layout:Unit could not be found.
     import org.alivepdf.layout.Unit;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 10: 1172: Definition
org.alivepdf.display:Display could not be found.
     import org.alivepdf.display.Display;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 11: 1172: Definition
org.alivepdf.saving:Method could not be found.
     import org.alivepdf.saving.Method;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 12: 1172: Definition
org.alivepdf.fonts:FontFamily could not be found.
     import org.alivepdf.fonts.FontFamily;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 13: 1172: Definition
org.alivepdf.fonts:Style could not be found.
     import org.alivepdf.fonts.Style;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 14: 1172: Definition
org.alivepdf.colors:RGBColor could not be found.
     import org.alivepdf.colors.RGBColor;

**Error** Séquence 1, Layer 'AS', Frame 1, Line 17: 1046: Type was not
found or was not a compile-time constant: PDF.
     var myPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );

**Error** Séquence 1, Layer 'AS', Frame 1, Line 51: 1120: Access of
undefined property Method.
     myPDF.save( Method.REMOTE,
"http://alivepdf.bytearray.org/wp-content/demos/create.php", "generated.pdf" );

**Error** Séquence 1, Layer 'AS', Frame 1, Line 17: 1180: Call to a
possibly undefined method PDF.
     var myPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );

**Error** Séquence 1, Layer 'AS', Frame 1, Line 17: 1120: Access of
undefined property Orientation.
     var myPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );

**Error** Séquence 1, Layer 'AS', Frame 1, Line 17: 1120: Access of
undefined property Unit.
     var myPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );

**Error** Séquence 1, Layer 'AS', Frame 1, Line 17: 1120: Access of
undefined property Size.
     var myPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );

**Error** Séquence 1, Layer 'AS', Frame 1, Line 20: 1120: Access of
undefined property Display.
     myPDF.setDisplayMode ( Display.REAL ); 

**Error** Séquence 1, Layer 'AS', Frame 1, Line 26: 1180: Call to a
possibly undefined method RGBColor.
     myPDF.lineStyle ( new RGBColor ( 0x990000 ) );

**Error** Séquence 1, Layer 'AS', Frame 1, Line 35: 1120: Access of
undefined property FontFamily.
     myPDF.setFont ( FontFamily.HELVETICA, Style.NORMAL );

**Error** Séquence 1, Layer 'AS', Frame 1, Line 35: 1120: Access of
undefined property Style.
     myPDF.setFont ( FontFamily.HELVETICA, Style.NORMAL );

Total ActionScript Errors: 28,  Reported Errors: 28

Original issue reported on code.google.com by kha_h%30...@gtempaccount.com on 4 Dec 2008 at 8:49

GoogleCodeExporter commented 9 years ago
I had also same problem.

In publishing settings, flash tab, Actionscript 3 setting add class path then no
error will come.

But still i am unable to run the example of alivepdf demo. Button behaving 
strangely
when i export it not functioning. i think i need to add document class but i 
don't
know which is the document class. Can anybody help me.

Original comment by raufaa...@gmail.com on 4 Feb 2009 at 6:48

GoogleCodeExporter commented 9 years ago
i am having the same issue...did you figure it out?

Original comment by deviousj...@gmail.com on 20 Jan 2010 at 6:11

GoogleCodeExporter commented 9 years ago
Setting the publishing path still does fix the problem.  What else could it be.

Original comment by mark.st...@apolloenergiesinc.com on 29 Dec 2013 at 11:53