P2F document not visible in AS3
Posted: Thu Mar 26, 2009 3:09 am
Hi,
Using the following code (as provided in the help files) I only see the preloader really quickly and then nothing. I then tweaked the code in Print2FlashDoc.as to make a loadComplete handler which reported height and width of the loaded object as both being 0 which would explain the invisible content but can't be right.
Here's the code used to initiate the P2F generated swf:
I'm using a registered P2F 2.7.3 Pro 64-bit on Vista 64-bit.
The same swf works fine using the AS2 code provided but the AS3 version is a complete no-starter. I have seen others with this problem as well. I look forward to a reply with more substance than "look in the help files"
Thanks in advance
Using the following code (as provided in the help files) I only see the preloader really quickly and then nothing. I then tweaked the code in Print2FlashDoc.as to make a loadComplete handler which reported height and width of the loaded object as both being 0 which would explain the invisible content but can't be right.
Here's the code used to initiate the P2F generated swf:
Code: Select all
import Print2Flash.*;
var P2FDoc:Print2FlashDoc=new Print2FlashDoc("SSK380.swf",10,50,500,350,this);
The same swf works fine using the AS2 code provided but the AS3 version is a complete no-starter. I have seen others with this problem as well. I look forward to a reply with more substance than "look in the help files"
Thanks in advance