Bypassing "Click to ACTIVATE and USE control" on flash animation that works in both IE 7.0 & Firefox 2.0

Hi All,

I've got a nice flash animation for my website.

My big problem is, you will need to click on it to activate it - which is annoying to a lot of browsers.

I need a script in ASPX .NET 2.0 that will somehow bypass and ignore the activate part - that works on both IE 7.0 and Firefox 2.0.

The webpage is in: http://www.alyka.com.au/volume/Default.aspx

I currently use Visual Studios 2005 (and master pages - MasterPage.master) for my code.

Thank you.
iflashAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bmcvicarCommented:
Hi iflash,

A while back I ran into the same issue and found a fix on Adobe's site:
http://www.adobe.com/devnet/activecontent/articles/devletter.html

Download this sample from the page, it should have everything you need.
http://download.macromedia.com/pub/developer/activecontent_samples.zip
0
bmcvicarCommented:
iflash,

After downloading the sample just copy the scripts over and make the following modifications to your code:

(Add to head)
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="Scripts/AC_RunActiveContent.js" language="javascript"></script>

(Replace Flash Content)
        <!-- Begin: Flash Content -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
  alert("This page requires AC_RunActiveContent.js");
} else {
  AC_FL_RunContent(
  'codebase', 'https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0',
  'width', '800',
  'height', '250',
  'src', 'images/splash',
  'quality', 'high',
  'pluginspage', 'https://www.macromedia.com/go/getflashplayer',
  'align', 'middle',
  'play', 'true',
  'loop', 'false',
  'scale', 'noscale',
  'wmode', 'window',
  'devicefont', 'false',
  'id', 'flash-animations',
  'bgcolor', '#ffffff',
  'name', 'splash',
  'menu', 'false',
  'allowScriptAccess','sameDomain',
  'movie', 'images/splash',
  'salign', ''
            );
      }
</script>
<noscript>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="250" id="HeroImage" align="middle">
  <param name="allowScriptAccess" value="sameDomain" />
  <param name="movie" value="images/splash.swf" />
  <param name="quality" value="high" />
  <param name="bgcolor" value="#ffffff" />
  <embed src="images/splash.swf" quality="high" bgcolor="#ffffff" width="800" height="250" name="HeroImage" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
        <!-- End: Flash Content -->

Hope this does the trick!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
iflashAuthor Commented:
Great solution - works perfectly now. Thank you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.