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?
What is the best methpd for getting rid of the Click to activate?
ASKER
I have no idea where to put my content e=within these params.
MY CONTENT:
<object classid='clsid:D27CDB6E-AE 6D-11CF-96 B8-4445535 40000' 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.sw f'>
<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-shockw ave-flash' name='obj1' width='262' height='130' quality='High' wmode='transparent'>
</object>
MY CONTENT:
<object classid='clsid:D27CDB6E-AE
<param name='movie' value='flash/texas_flag.sw
<param name='quality' value='High'>
<param name='wmode' value='transparent'>
<embed src='flash/texas_flag.swf'
</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>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Did I close the question and assign points?
yeps....did it solve your issue?
ASKER
You da one!
=)
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/