Adding the following parameter to the EMBED tag works for a few browsers or will (maybe) work in future:
wmode="transparent"
http://www.macromedia.com/support/flash/ts/documents/wmode.htm
(redirecting to http://kb2.adobe.com/cps/142/tn_14201.html )
SWFMovie::setbackground
(PHP 4 >= 4.3.3)
SWFMovie::setbackground — 背景色を設定する
説明
void SWFMovie::setbackground
( int
$red
, int $green
, int $blue
)警告
この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。
背景色を設定します。
なで rgba 版がないのでしょうか? 考えても見てください。 HTML の背景を表示させたいこともあるでしょう。 その方法はあるのですが、IE4 でしか動作しません。詳細は » http://www.macromedia.com/ で検索してください。
パラメータ
これらのパラメータは、0 から 255 までの整数値か、あるいは 0x00 から 0xFF までの十六進値となります。
-
red -
赤コンポーネントの値。
-
green -
緑コンポーネントの値。
-
blue -
青コンポーネントの値。
返り値
値を返しません。
DerHorst at gmail dot com
27-Jul-2009 05:40
martin lindhe
06-Feb-2006 04:25
If you specify bgcolor in the html tags embedding the flash movie, this command have no effect.
To make setBackground() have an effect, make sure you remove
<param name="bgcolor" value="#ffffff>" />
and remove bgcolor="#ffffff" part from:
<embed src="file.swf" quality="high" bgcolor="#ffffff" ...>
08-Aug-2001 12:28
here's how to make the background transparent (IE4 or higher):
<param name="wmode" value="transparent">
