I'm using AS3 to load an external print2flash swf file.
When I use the sample.swf from the samples of the
API it works fine, but when I use a file generated by
me it doesn't work. The loading animation blink one
time on the screen and nothing more happens.
Is there any specific way to generate the swf file to
use with AS3 or maybe I'm doing something wrong?
The code is this simple:
Code: Select all
import Print2Flash.*;
var P2FDoc : Print2FlashDoc;
P2FDoc = new Print2FlashDoc( "sample.swf", 0, 0, 1180, 850, this);