Flash avoids Microsoft's new ActiveX control upgrade method

Source: Internet
Author: User
Tags root directory
Active|activex| Control | microsoft

Microsoft is trying to avoid a patent infringement dispute with Eolas and the University of California. Finally released a modified patch for the IE6 browser, changing the way IE handles embedded ActiveX controls.
After this patch, IE to the ActiveX control and Java program processing will be changed, by default will not actively activate, so users can access the Flash ads and other network content needs to click a mouse, the non-interactive control does not change.
This will certainly result in a lot of Web site application of the Flash Interactive program, in the process of interacting with the user added a barrier, fortunately there is now a way to make flash bypass this barrier

First, download the http://blog.deconcept.com/flashobject/flashobject1-3.zip here
Decompression puts the flashobject.js in the root directory

Then add the following two parts to the SWF-embedded page:
1. Contains Flashobject.js
<script type= "Text/javascript" src= "Flashobject.js" ></script>
2. Embed SWF code

<script type= "Text/javascript" >
<! [cdata[
var fo = new Flashobject ("fo_tester.swf", "Fotester", "," "," "8", "#FF6600");
Fo.addvariable ("Flashvartext", "this are passed in via Flashvars for example only");
Fo.addparam ("Quality", "low");
Fo.addparam ("wmode", "Transparent");
Fo.addparam ("salign", "T");
Fo.write ("Flashcontent");

]]>
</script>

One of the first lines of var fo = new Flashobject ("fo_tester.swf", "Fotester", "the", "" "," 8 "," #FF6600 ");
Includes SWF filename, width, height, flash version, background color
The second line represents the parameters that the page passes to Flash, and if there are no parameters, you can delete
Third, four, five elements is the flash parameters to modify, you can achieve the background transparent function

For detailed usage, refer to here:
http://blog.deconcept.com/flashobject/



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.