- FLASH
-
2011-03-03 - 更新:2012-03-23
2,554 views
_root.[instance].onRelease = function ()
{
var myColor = new Color(this);
if(!this.flag)
{
this.trans = myColor.getTransform();
myColor.setRGB(0xff9900);
this.flag = true;
}
else
{
myColor.setTransform(this.trans);
this.flag = false;
}
}
FLASHの背景を透明化・不透明化するには
下記のように、パラメータを指定する
・透明化
<param name="wmode" value="transparent">
・不透明化
<param name="wmode" value="opaque">
<object>タグで表示している場合に限ります。