[Flashcoders] Flash + SWFObject + innerHTML + IE7 problem
Here's the situation: I've got a div, within which is a bunch of content. I'm passing the contents of that div to a SWFObject using document.getElementById(content).innerHTML using Flashvars. Everything works hunky-dory in Firefox, but the .swf gets nothing in IE7. Is this a result of IE7's stricter security? No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash + SWFObject + innerHTML + IE7 problem
I haven't had that problem. Make sure you escape your data, since SWFObject doesn't do this automatically: function getInnerCode(id) { var element = document.getElementById(id); return escape(element.innerHTML.toString()); } On 3/5/07, Joshua Sera [EMAIL PROTECTED] wrote: Here's the situation: I've got a div, within which is a bunch of content. I'm passing the contents of that div to a SWFObject using document.getElementById(content).innerHTML using Flashvars. Everything works hunky-dory in Firefox, but the .swf gets nothing in IE7. Is this a result of IE7's stricter security? No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- T. Michael Keesey Director of Technology Exopolis, Inc. 2894 Rowena Avenue Ste. B Los Angeles, California 90039 -- The Dinosauricon: http://dino.lm.com Parry Carney: http://parryandcarney.com ISPN Forum: http://www.phylonames.org/forum/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash + SWFObject + innerHTML + IE7 problem
Yup. I'm doing that, but that's not working either. It's also not working in Safari. ARGH! --- T. Michael Keesey [EMAIL PROTECTED] wrote: I haven't had that problem. Make sure you escape your data, since SWFObject doesn't do this automatically: function getInnerCode(id) { var element = document.getElementById(id); return escape(element.innerHTML.toString()); } On 3/5/07, Joshua Sera [EMAIL PROTECTED] wrote: Here's the situation: I've got a div, within which is a bunch of content. I'm passing the contents of that div to a SWFObject using document.getElementById(content).innerHTML using Flashvars. Everything works hunky-dory in Firefox, but the .swf gets nothing in IE7. Is this a result of IE7's stricter security? No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- T. Michael Keesey Director of Technology Exopolis, Inc. 2894 Rowena Avenue Ste. B Los Angeles, California 90039 -- The Dinosauricon: http://dino.lm.com Parry Carney: http://parryandcarney.com ISPN Forum: http://www.phylonames.org/forum/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com