Thanks, Kevin!  This cleared it up for me.  As you say, the important thing
is that the script is in an EXTERNAL file...  Even if you dynamically insert
the ActiveX control via innerHTML or the DOM, the script cannot be in the
head of the document. 

-tom

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Newman
Sent: Wednesday, April 19, 2006 1:06 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] New wrinkle in IE activation issue...

I've run into issues in Yahoo's Music site, where that site embeds 
Microsoft's own Media Player, so it definitely doesn't just affect 
Flash. Besides it's so easy to get around the problem with Javascript 
(in most cases) - just make sure that the code that most directly 
inserts the html into the page is located in an external file - even if 
it's just a simple wrapper function like:

// bypass_patent_problem.js
function writeToDocument(html) {
    document.write(html);
}

If that function is in a linked file, and not in the current html file, 
it will bypass the patent thing, even if the html generator and all the 
rest of the scripts are within the page.

Kevin N.



Dave Watts wrote:
>> Is it me, or does anyone else think MS added this security 
>> feature to put spanners in works for Adobe?
>>     
>
> It's not a security feature, it's a condition of Microsoft's settlement
with
> Eolas over a patent violation, and it negatively affects any interactive
use
> of ActiveX controls, not just Flash. We've run into a similar problem with
> an ActiveX rich text editor that now sometimes works, but doesn't always
> work any more.
>  
> That said, I suspect they're not too upset about Flash problems.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> _______________________________________________
> 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
>
>
>   


_______________________________________________
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


_______________________________________________
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

Reply via email to