This sample demonstrates how a Print2Flash document using ActionScript3 can be embedded into another Flash movie which uses ActionScript3 and programmatically manipulated with Print2Flash Document API.
Just unpack the sample folder to disk.
The sample contains the following major files:
To launch the sample:
To see the source code you need to open docapisample.fla file in Adobe Flash CS Professional and analyze it. Of course, you can load your own Print2Flash documents using this sample. Note that to load a document in Flash and access it via Print2Flash Document API you should clear "Disable Print2Flash Document API support" option in the Protection tab of Document Options window when converting the document. Also, you must generate ActionScript3 documents in order to be able to use them with this sample. This is controlled using Flash Document Format field in the Flash Output Tab of Document Options window.
See this help topic for more information: http://print2flash.com/help/UsingDocumentAPIfromFlashCS3_AS3.php
Copyright (C) Print2Flash Software. All rights reserved |