Hi everyone,
I'm trying to build my own viewer for pdf2swf. pdf2swf takes a pdf and outputs an swf file with one frame per pdf page.
So i have an swf file with 40 frames(pages). I want to load this swf into my own viewer using this code.
when I trace _root.mcHolder._framesloaded I get 1, and _currentframe returns 0.
I would expect that frames loaded would be 40. Kinda new to action script. Any idea what I am doing wrong?
I'm trying to build my own viewer for pdf2swf. pdf2swf takes a pdf and outputs an swf file with one frame per pdf page.
So i have an swf file with 40 frames(pages). I want to load this swf into my own viewer using this code.
Code:
_root.createEmptyMovieClip("mcHolder", 1);
_root.mcHolder.loadMovie("manual.swf");
root.mcHolder._x = 0;
root.mcHolder._y = 0;
when I trace _root.mcHolder._framesloaded I get 1, and _currentframe returns 0.
I would expect that frames loaded would be 40. Kinda new to action script. Any idea what I am doing wrong?