Thanks for the quick responses!

I will give SWFObject a try! Before I get too far along though, can anyone 
assure me that this approach works with ExternalInterface & IE?

Thanks again!

- mps



________________________________
From: Vincent Polite <[email protected]>
To: [email protected]
Sent: Tuesday, March 10, 2009 3:41:52 PM
Subject: Re: SWFObject and innerHTML

SWFObject will in fact butter your toast and make you coffee.  It is the end 
all be all of...

OK, seriously.  If you are trying to present flash content in a safe, sane, and 
stable way that functions admirably in most/all browsers of note, then 
SWFObject will do the trick.  Be sure to check out the documentation on the 
google group as there are specific examples and demos that will make your life 
easier.

Vincent


On Tue, Mar 10, 2009 at 12:30 PM, MPS <[email protected]> wrote:


Can SWFObject be used in the following way:

I want to use javascript to generate my <object/embed> tag HTML and
populate a <div> with the result.

I tried modifying Adobe's AC_Generateobj function to do this, and it
works fine in Firefox and Safari, but not in IE (6 or 7).

Here's my code:

var flashObjTag = AC_FL_RunContent(... the usual args here...);
$(divName).innerHTML = flashObjTag;

Basically we're trying to avoid using document.write().

Unfortunately I'm running into this bug:

http://bugs.adobe.com/jira/browse/FP-692 (ExternalInterface.call()
fails in IE7 with "Object Does not support this property or method")

Will SWFObject provide a solution for me?




--~--~---------~--~----~------------~-------~--~----~
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