js onload
Posted: Wed Jan 16, 2008 1:33 pm
Is there a JS event that allows me to tell when the SWF has been loaded?
something like an onload event?
Basically I am using a custom HTML toolbar that I want to update with total pages, currentzoom, etc... after the swf loads. Currently I am just doing a "setTimeout" and waiting 2 seconds, but if the swf takes longer than 2 seconds the code doesnt work.
Any suggestions are appreciated.
Thanks.
something like an onload event?
Basically I am using a custom HTML toolbar that I want to update with total pages, currentzoom, etc... after the swf loads. Currently I am just doing a "setTimeout" and waiting 2 seconds, but if the swf takes longer than 2 seconds the code doesnt work.
Any suggestions are appreciated.
Thanks.