Avatar of phpretard
phpretard asked on

How can I get rid of the "Click to activate" and have the page load?

I know of many ways to get rid of the click to activate control but it seems that each one will cause the page to continuously load or never stop loading.  Why Why WHy?

What is the best methpd for getting rid of the Click to activate?

Web Development

Avatar of undefined
Last Comment
SheharyaarSaahil

8/22/2022 - Mon
Jason C. Levine

Hi phpretard,

You need to use a javascript function to generate the embed tags dynamically.  One of the best ones is SWFObject:

http://code.google.com/p/swfobject/
ASKER
phpretard

I have no idea where to put my content e=within these params.

MY CONTENT:
<object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' border='0' width='262' height='130'>
      <param name='movie' value='flash/texas_flag.swf'>
      <param name='quality' value='High'>
      <param name='wmode' value='transparent'>
      <embed src='flash/texas_flag.swf' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='obj1' width='262' height='130' quality='High' wmode='transparent'>
</object>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">  <head>    <title>SWFObject - step 3</title>    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />    <script type="text/javascript" src="swfobject.js"></script>    <script type="text/javascript">    swfobject.registerObject("myId", "9.0.0", "expressInstall.swf");    </script>  </head>  <body>    <div>      <object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780" height="420">        <param name="movie" value="myContent.swf" />        <!--[if !IE]>-->        <object type="application/x-shockwave-flash" data="myContent.swf" width="780" height="420">        <!--<![endif]-->          <p>Alternative content</p>        <!--[if !IE]>-->        </object>        <!--<![endif]-->      </object>    </div>  </body></html>

Open in new window

ASKER CERTIFIED SOLUTION
SheharyaarSaahil

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
phpretard

Did I close the question and assign points?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
SheharyaarSaahil

yeps....did it solve your issue?
ASKER
phpretard

You da one!
SheharyaarSaahil

=)
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.