Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loadmovie _framesloaded question

Status
Not open for further replies.

j4606

MIS
Joined
Nov 28, 2005
Messages
349
Location
US
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.
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top