RafaelOliveira / alivepdf

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

compile errors when with org.alivepdf.encoding #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile in FlashCS3 after "import org.alivepdf.pdf.PDF;"
2. Compiler errors as follows

1061: Call to a possibly undefined method encode64
through a reference with static type Class.
else if ( method == Method.BASE_64 ) return Base64.encode64 ( buffer );

1137: Incorrect number of arguments.  Expected no more than 1.
} else bytes = PNGEncoder.encode ( bitmapDataBuffer, 1 );

Version 0.1.4.4

Windows Vista - Flash CS3

I'm not a pro with classes but just cant understand what is wrong here. The
older version of alivePDF was fine for me. This one is causing all sorts of
problems.
I have a copy of the entire org folder and everythign else seems ok.. As a
temp fix I've commented the 2 lines out in the pdf.as file. Obviously not a
good way to fix the problem though.

Original issue reported on code.google.com by marcuskh...@gmail.com on 28 Jul 2008 at 2:24

GoogleCodeExporter commented 9 years ago
Hi again,

I will take a look at this right now and let you know.

cheers,

Thibault

Original comment by thibault.imbert on 28 Jul 2008 at 3:33

GoogleCodeExporter commented 9 years ago
Ah great. I'll be very interested to see how the problem can be solved.
If you download the trial encrypt software from here
http://www.amayeta.com/

you should be able to reproduce the problem pretty easy. Please let me know if 
you
cannot. Unencrypted the alivePDF runs fine. The support at amayta is terrible 
and
they fail to respond to my questions but I have other less complex classes 
being used
in the software which seems to run fine.

Thanks for the help.

Original comment by marcuskh...@gmail.com on 29 Jul 2008 at 11:00

GoogleCodeExporter commented 9 years ago
I had the same problem. I used SWF Protector and the problem was solved. You 
can download a free version here http://www.dcomsoft.com

Original comment by dcomsoft...@gmail.com on 3 Jun 2011 at 7:53