I'm embedding .swfs on my page with the dynamic publishing method of
swfobject. I'm loading the .swf into a div when they click the 'play'
button with some javascript. Everything works fine but the .swf wont
actually appear on the screen until it has been fully loaded,
completely ignoring the preloader functionality.
//JAVASCRIPT THAT IS CALLED WHEN THE USER CLICKS 'PLAY'
//id, width, and height have been passed into the function
var attributes = {};
attributes.name = attributes.id = 'ContentFile_'+id;
swfobject.embedSWF('/media/swf/uploads/content_files/content_file_'+id
+'.swf', 'actual_content', width, height, '9.0.0', false, false,
attributes);
//END JAVASCRIPT
the preloader works fine if I access the .swf directly in the
browser.
any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---