嵌入SWF文件如何隐藏播放控制栏
Hey there! Let's get that playback control bar hidden for your embedded SWF file. Since your auto-play is already working, we just need to tweak a couple of parameters in your <embed> tag.
Method 1: Add the controls Parameter to Your <embed> Tag
Most Flash plugins respect the controls parameter to toggle the default playback bar. Simply add controls="false" to your existing embed code to tell the plugin not to render the control bar.
Here's your modified code:
<embed id="media" src="#WORKSPACE_IMAGES#VisionSelling/VisionSellingV1.swf" width="960" height="626" quality="best" bgcolor="#4A4A4A" allowScriptAccess="always" allowFullScreen="true" wmode="window" type="application/x-shockwave-flash" pluginspace="http://get.adobe.comflashplayer/" controls="false">
For better compatibility with older Flash plugin versions, you can also add the menu="false" parameter (this hides the right-click menu and can also suppress control bars in some cases):
<embed id="media" src="#WORKSPACE_IMAGES#VisionSelling/VisionSellingV1.swf" width="960" height="626" quality="best" bgcolor="#4A4A4A" allowScriptAccess="always" allowFullScreen="true" wmode="window" type="application/x-shockwave-flash" pluginspace="http://get.adobe.comflashplayer/" controls="false" menu="false">
Method 2: Handle SWF-Built-in Controls
If the above changes don't work, it's likely that the control bar is built directly into the SWF file itself. In this case, HTML parameters won't affect it.
To fix this, you'd need access to the original FLA (Flash source file) to modify the ActionScript or remove the control component from the timeline. Without the source file, there's no way to externally disable an embedded control bar in the SWF.
内容的提问来源于stack exchange,提问作者user1009073

