Re: [SWFObject] SWFObject wants to target an ID, how can I just get back the HTML that swfobject produces?
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, xiSwfUrlStr, flashvarsObj, parObj, attObj, callbackFn) { and here is the createSWF: createSWF(attObj, parObj, id) { Did I miss it? Thanks, Matt On Mon, Feb 13, 2012 at 10:37 AM, Philip Hutchison platelu...@gmail.comwrote: 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 target, but all I'm looking for is the HTML that it is producing is there a way that I can call SWFObject and get just the raw HTML? The reason is because the DOM i not ready yet in my application so I've got to do the HTML manipulation myself. Thanks! Matt -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- Thanks, Matt Babineau Director of Software Systems Minexa, Inc. 6827 Nancy Ridge Drive San Diego, CA 92121 p: 858.427.4909 e: mbabin...@minexa.com w: www.minexa.com -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
Re: [SWFObject] SWFObject wants to target an ID, how can I just get back the HTML that swfobject produces?
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 mbabin...@minexa.com wrote: 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, xiSwfUrlStr, flashvarsObj, parObj, attObj, callbackFn) { and here is the createSWF: createSWF(attObj, parObj, id) { Did I miss it? Thanks, Matt On Mon, Feb 13, 2012 at 10:37 AM, Philip Hutchison platelu...@gmail.comwrote: 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 target, but all I'm looking for is the HTML that it is producing is there a way that I can call SWFObject and get just the raw HTML? The reason is because the DOM i not ready yet in my application so I've got to do the HTML manipulation myself. Thanks! Matt -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- Thanks, Matt Babineau Director of Software Systems Minexa, Inc. 6827 Nancy Ridge Drive San Diego, CA 92121 p: 858.427.4909 e: mbabin...@minexa.com w: www.minexa.com -- Thanks, Matt Babineau Director of Software Systems Minexa, Inc. 6827 Nancy Ridge Drive San Diego, CA 92121 p: 858.427.4909 e: mbabin...@minexa.com w: www.minexa.com -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
Re: [SWFObject] SWFObject wants to target an ID, how can I just get back the HTML that swfobject produces?
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 target, but all I'm looking for is the HTML that it is producing is there a way that I can call SWFObject and get just the raw HTML? The reason is because the DOM i not ready yet in my application so I've got to do the HTML manipulation myself. Thanks! Matt -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to swfobject@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.