Click here to Skip to main content
15,899,124 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

I am trying to hide the play button and the stop button on a webpage that has a flash movie, This is what I have, What am I missing/

AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '960',
			'height', '520',
			'src', 'FlashSwf',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'noscale',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'FlashSwf',
			'bgcolor', '#ffffff',
			'name', 'FlashSwf',
			'menu', 'false',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'BlueHeadOne_Data/FlashSwf',
			'FlashVars','StandByVideo=StandByVideoFlv&BrowseVideo=BlueHeadOne',
			'salign', 'lt'
			); //end AC code


<noscript>
     <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="960" height="520" id="FlashSwf" align="middle">
       <param name="allowScriptAccess" value="sameDomain" />
       <param name="allowFullScreen" value="false" />
       <param name="FlashVars" value="StandByVideo=StandByVideoFlv&BrowseVideo=BlueHeadOne.flv&controlBarMode=none"/>
       <param name="movie" value="BlueHeadOne_Data/FlashSwf.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="lt" /><param name="bgcolor" value="#ffffff" />
       <embed src="FlashSwf.swf" quality="high" scale="noscale" salign="lt" bgcolor="#ffffff" width="960" height="520" name="FlashSwf" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
   </object>
   </noscript>
Posted
Updated 23-Oct-12 17:03pm
v2

1 solution

It's been years since I last worked with flash. Not even sure if I still have a computer anywhere with it installed to be honest.

However, I notice from looking at your flashVars attributes, that you appear to be using "controlBarMode=none" to hide them.

Looking at this[^] page, I'm left with the impression that the following may be worth testing.

'playerOpts=playerAutoHide*true*b||hideDelay*2000*i'


Checking this[^] Adobe page, we can see that reply #3 also makes mention of the playerAutoHide attribute.

I'd give that a whirl.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900