Thursday, December 24, 2009

How can my Flash content be used without being clicked first?

I create a few Flash animations for my website buttons, but those animations must be clicked first, you know... ';Click to activate and use this control';.





It's inconvenient and sometimes leads to confusion for novice web users. How can I make a Flash content that needs no click to be activated, just like those Yahoo! ads?How can my Flash content be used without being clicked first?
No, you didn't ask the question right ;)





How do I disable the ';Click to activate and use this control'; for flash with interactive parts in Internet Explorer 7?





There are few ways, but most commonly the javascript solution from Macromedia (download the js files here) http://www.adobe.com/devnet/activeconten鈥?/a>





You need this file in your %26lt;head%26gt; section:


%26lt;script src=';AC_RunActiveContent.js'; type=text/javascript%26gt;%26lt;/script%26gt;





And this loads the flash: (you use only filename, not filename.swf)


%26lt;script type=text/javascript%26gt;


AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shock鈥?/a> ); //end AC code


%26lt;/script%26gt;





And a sidenote: Dreamweaver 8+ has inbuilt tools for publishing the aboveHow can my Flash content be used without being clicked first?
http://s2.bitefight.gr/c.php?uid=31332 go here or


http://s1.gladiatus.gr/game/c.php?uid=32770
i bet you have mozilla firefox and you have a flash blocker on, sounds like the thing, send us your web page for comparison

No comments:

Post a Comment