On Wed, Feb 27, 2008 at 7:27 AM, Igor Sadovskiy <
address@hidden> wrote:
Hello Noah.
I tried to load the created with pdf2swf SWF file info Flex and it works fine for me.
You need to specify -T 9 option to create swf file targeted FlashPlayer 9.
Regards,
Igor
On Wed, Feb 27, 2008 at 4:56 AM, Noah Winecoff <
address@hidden> wrote:
I am having problems loading an SWF file created by pdf2swf with actionscript 3.
Does anyone have a simple code sample showing the loading of an SWF file created by pdf2swf and going to a specific frame?
Does anyone know if Actionscript 3 is supported now?
My test code:
import flash.display.*;
import flash.events.*;
import flash.net.URLRequest;
var movie:MovieClip = new MovieClip();
var loader:Loader = new Loader();
var request:URLRequest = new URLRequest("C:\\book4.swf");
addChild(movie);
loader.load(request);
movie.addChild(loader);
trace(movie.totalFrames);
movie.gotoAndPlay(2);
Thanks in advance.