Flash CS4教程:AS3制作非常漂亮的曲线
作者 凌众技术
来源 网页制作
浏览
发布时间 2012-03-09
ite
{
private var sp:Sprite = new Sprite();
private var points:Array = new Array();
private var prevmouseX:Number = 0;
private var prevmouseY:Number = 0;
private var fireBtn:MovieClip = new MovieClip();
private var fireTF:TextField = new TextField();
private var skyBtn:MovieClip = new MovieClip();
private var skyTF:TextField = new TextField();
private var grassBtn:MovieClip = new MovieClip();
private var grassTF:TextField = new TextField();
private var sunBtn:MovieClip = new MovieClip();
private var sunTF:TextField = new TextField();
private var bf:BlurFilter = new BlurFilter(3,3,1);
private var growFilter:GlowFilter = new GlowFilter(0xff3300, 2, 20, 10, 2, 3, true, false);
private var growFilter_b:GlowFilter = new GlowFilter(0xfff000, 2, 16, 10, 3, 9, false, false);
private var dropShadow:DropShadowFilter = new DropShadowFilter(0, 360, 0xC11B17, 1, 70, 70, 5, 3, false, false, false);
private var growFilter_2:GlowFilter = new GlowFilter(0x00ffff, 2, 20, 10, 2, 3, true, false);
private var growFilter_b_2:GlowFilter = new GlowFilter(0x00ffff, 2, 16, 10, 3, 9, false, false);
private var dropShadow_2:DropShadowFilter = new DropShadowFilter(0, 360, 0x000fff, 1, 70, 70, 5, 3, false, false, false);
private var growFilter_3:GlowFilter = new GlowFilter(0x4AA02C, 2, 20, 10, 2, 3, true, false);
private var growFilter_b_3:GlowFilter = new GlowFilter(0x4AA02C, 2, 16, 10, 3, 9, false, false);
private var dropShadow_3:DropShadowFilter = new DropShadowFilter(0, 360, 0x4AA02C, 1, 70, 70, 5, 3, false, false, false);
private var growFilter_4:GlowFilter = new GlowFilter(0xFDD017, 2, 20, 10, 2, 3, true, false);
private var growFilter_b_4:GlowFilter = new GlowFilter(0xFDD017, 2, 16, 10, 3, 9, false, false);
private var dropShadow_4:DropShadowFilter = new DropShadowFilter(0, 360, 0xFDD017, 1, 70, 70, 5, 3, false, false, false);
What events we have here?First we add the sp(Sprite) to the stage, then we add an Enter_Frame event to |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于Flash CS4教程:AS3制作非常漂亮的曲线的所有评论