Search blogs
Did you find a problem ? Tell us about it! Get a blog Report blog Random blog

Workaround for 'Click to activate and use this control' with javascript for Internet Explorer 7

Posted on 24/10/2006

'Click to activate and use this control', can be bypassed with Javascript using this script. You can see a demo here, just enter the page and press view gallery in flash.
Usage :
<script type="text/javascript" src="flash.js"></script>
<script type="text/javascript">
var fG = new Flash ();
fG.setSWF ('flash.swf', 300, 200, 8); // fG.setSWF ('flash.swf', width, height, flash version);
fG.setParam ('bgcolor', '#FFFFFF');
fG.setParam ('quality', 'high');
fG.setParam ('flashvars', 'var2=1&amp;var2=2');
fG.display ();
</script>

Tags: flash , javascript
These icons link to social bookmarking sites where readers can share and discover new web pages. Bookmark page
  • digg
  • del.icio.us
  • YahooMyWeb
  • Furl
  • Fark
  • Ma.gnolia
  • Reddit
  • Smarking
  • Spurl
  • NewsVine
  • blinkbits
  • Yahoo Messenger
Razvan @ 12:36
Filed under: webdev

1 Comment for 'Workaround for 'Click to activate and use this control' with javascript for Internet Explorer 7' »

  1.  
    Sankar
    August 11 2007 | 07:21
     
    hi, i have problem with flash activation, i saw your code but i am understatnd, please details explain and give me sugession. thanking you, Sankar

No trackbacks have been added to this post yet.

Leave a comment





Human test

Information for comment users
Your e-mail address is never displayed. Please consider what you're posting.