swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] pdf2swf Actionscript 3 support


From: Igor Sadovskiy
Subject: Re: [Swftools-common] pdf2swf Actionscript 3 support
Date: Wed, 27 Feb 2008 15:27:31 +0200

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]