Just a quick update on the project status. In the last 2 days I’ve added a couple of features to purePDF:
- BMP support ( see BitmapImageSample )
- WMF Windows metafile support ( see WMFImageSample )
Just a quick update on the project status. In the last 2 days I’ve added a couple of features to purePDF:
This is another interesting reading about the current discussion about HTML5, video and Flash: http://blog.streamingmedia.com/the_…-cant-kill-off-the-other.html.
Zaalabs yesterday announced the release of an opensource ( under MIT license ) library, written using Alchemy, which will allow swf to load at runtime more than 40 different image formats ( you will have access to the bitmapdata of the loaded file ).
Recently I decided to write my old flash tracer firefox extension from scratch because I found it not really useful (at least for me) and too “expensive”, moreover when using firebug at the same time.
package { import flash.display.Sprite; public class ternary_test extends Sprite { public function ternary_test() { var n: Number = 0; var d: int = 3; var k: int = 5; var j: int = 10; n = 1 + ( -( d == 0 ? k : j ) ); trace( "n=" + n ); } } }
will cause the compiler to crash with the following stack trace:
compile: [mxmlc] Loading configuration file /Applications/Adobe Flash Builder 4 Plug-in/sdks/3.5.0/frameworks/flex-config.xml [mxmlc] Error: null [mxmlc] java.lang.NullPointerException [mxmlc] at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1290) [mxmlc] at macromedia.asc.parser.UnaryExpressionNode.evaluate(UnaryExpressionNode.java:51) [mxmlc] at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2153) [mxmlc] at macromedia.asc.parser.ListNode.evaluate(ListNode.java:44) [mxmlc] at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:1497) [mxmlc] at macromedia.asc.parser.BinaryExpressionNode.evaluate(BinaryExpressionNode.java:56) [mxmlc] at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:2124) [mxmlc] at macromedia.asc.parser.ArgumentListNode.evaluate(ArgumentListNode.java:45)...
Recently I’ve update purepdf adding PdReader.
I’ve just discovered an unbelievable post by Jean-Philippe Auclair with ALL the undocumented options of the mm.cfg file!
One of the most hard thing to traslate when creating pdf documents from existing flash movies is indeed the gradient matrix.
var cb_shading: PdfShading = PdfShading.complexAxial( writer, top_left.x, top_left.y, top_right.x, top_right.y, cb_colors, cb_ratios, true, true );
then for the alpha masking I’ve created a PdfTransparencyGroup applied to the alpha mask.