hothousegraphix
04-16-2008, 09:04 PM
I’m trying to pull in a swf via prototype’s (AjaxUpdater). I’m using swfObject(v1.5) to embed the swf. My call returns all the requested content with the exception of the swf. I seem only to get the alternate content not the swf itself.
I'm going to assume this is becuase swfObject has already parsed the page and any new content brought (my new swf) in is not seen by it.
So...is there a way (would this even work) to re-execute swfObject with an onComplete called from Prototype's AjaxUpdter?
new Ajax.Updater('manage_user_info', '/fileTransfer/manage_user.php?client=' + $('users_to_manage').getValue(), { onComplete:function(){ should the call be here},asynchronous:true, evalScripts:true, method: 'get' });
Wondering if anyone has done something like this? And...if so...could share their method for resolving this situation.
Thanks
I'm going to assume this is becuase swfObject has already parsed the page and any new content brought (my new swf) in is not seen by it.
So...is there a way (would this even work) to re-execute swfObject with an onComplete called from Prototype's AjaxUpdter?
new Ajax.Updater('manage_user_info', '/fileTransfer/manage_user.php?client=' + $('users_to_manage').getValue(), { onComplete:function(){ should the call be here},asynchronous:true, evalScripts:true, method: 'get' });
Wondering if anyone has done something like this? And...if so...could share their method for resolving this situation.
Thanks