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