I'd like to swap out the movie in a div every so often. Can't seem to
get the LoadMovie to actually load and show the next one...

http://www.bangeye.com/swfswitch.html



function getFlashSize() {
        return $(window).height();
}

swfobject.embedSWF("http://www.utah3d.net/panoramas/media/
NightArches.swf", "movieDiv", "100%", getFlashSize(), "9.0.0",
"expressInstall.swf");

$(window).resize(function() {
        $("#movieDiv").height(getFlashSize());
});

setTimeout('SwitchPicture()', 3000);

function SwitchPicture(){
  var theShow = swfobject.getObjectById("movieDiv");
  theShow.StopPlay();
  theShow.LoadMovie(0, "http://www.utah3d.net/panoramas/media/
PaysonC.swf");
  theShow.Play();
}

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to