当前位置:软件学习 > Flash >>

as 3.0 FLASH改变网页的背景颜色

]import fl.controls.colorpicker;
import fl.events.colorpickerevent;
import flash.external.externalinte易做图ce;
back_colorpicker.addeventlistener("change",oncolorchange);
function oncolorchange(_evt:colorpickerevent) {
externalinte易做图ce.call("setcolor",_evt.target.hexvalue );
}[/code]主要还是用到网页特效来具体完成[code]<scrīpt>
function setcolor(_color){
  document.body.style.backgroundcolor=_color;
}
</scrīpt>
补充:flash教程,As3.0
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,