I have some actionscript that checks for installations of Acrobat Reader I’m using in a Projector project.
This code executes by pushing a button. I want to use a movie (like a preloader) to execute the script.
i.e. when the movie reaches frame 50 execute the fucntion to check for acrobat reader
I have it working fine using a button
test_btn.onRelease = function . . . . .
But I can’t seem to get it to work with a movie.
I need to set up way to check what frames is loaded and if it is all loaded then execute the function.
something like
if (test_mov._currentframes == 50){execute function}
This is probly really simple but I can’t seem to get it working.
Any thoughts??
Andy
P.S. the script is all on frame 1 of main timeline.