Re: [SWFObject] SWFObject wants to target an ID, how can I just get back the HTML that swfobject produces?

2012-02-15 Thread Matt Babineau
Philip, Thanks for your response! I looked at the source for swfobject 2.3, and I didn't see what you were referring to, also didn't see much in the way of documentation at all either... :) Here's the embedSWF: embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr,

Re: [SWFObject] SWFObject wants to target an ID, how can I just get back the HTML that swfobject produces?

2012-02-15 Thread Matt Babineau
Might have just answered my own question, it looks like the getId() function is what lets me specifiy an element or ID str: function getId(thing){ return (isElement(thing)) ? thing.id : thing; } I'll give this a shot -Matt On Wed, Feb 15, 2012 at 8:59 AM, Matt Babineau

Re: [SWFObject] SWFObject wants to target an ID, how can I just get back the HTML that swfobject produces?

2012-02-13 Thread Philip Hutchison
No, SWFObject always requires an ID. The SWFObject 2.3 beta enables you to pass an element instead of an ID, you can give that a try. https://github.com/swfobject/swfobject On Mon, Feb 13, 2012 at 10:08 AM, Matt Babineau mbabin...@minexa.comwrote: Both embedSWF and createSWF want an ID to