Click here to Skip to main content
15,073,911 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/

			'codebase', ',0,0,0',
			'width', '960',
			'height', '520',
			'src', 'FlashSwf',
			'quality', 'high',
			'pluginspage', '',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'noscale',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'FlashSwf',
			'bgcolor', '#ffffff',
			'name', 'FlashSwf',
			'menu', 'false',
			'allowFullScreen', 'false',
			'movie', 'BlueHeadOne_Data/FlashSwf',
			'salign', 'lt'
			); //end AC code

     <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",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="" />
Updated 23-Oct-12 17:03pm

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.


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

I'd give that a whirl.

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