javascript - defer loading elements until Flash gallery’s images from XML file finish loading -
how defer loading of other graphics on page until after images in flash gallery’s images.xml file finished loading?
is there way detect this, or able check if flash swf object finished loading?
i'm pretty sure swf object loaded/ready document.getelementbyid('flashobject').onload = function(){};
before corresponding images have loaded though, instead of after.
you call javascript function inside swf file once know it's time load other images on page.
something in lines of:
import flash.external.externalinterface; externalinterface.call("loadimages()"); // loadimages javascript function defined inside webpage
Comments
Post a Comment