Rhzhi.Net 主页 | 访问新版
rhzhi.net
网站首页 | 软件新闻 | 操作系统 | 工具软件 | 办公软件 | 网站设计 | 组网专栏 | 平面设计 | 多 媒 体 | 程序开发 | 硬件资料 | 聊天软件
栏 目 索 引
首页 -> 网站设计-> Flash-->文章正文
FLASH_3D教程——从头开始
eNet
2005-8-11 文/kianxin




depth=depth/(-4);

plane4.swapDepths(depth);

amount=depth/50*100+15;

new Color(plane4).setTransform({ra:amount,ga:amount,ba:amount});

depth=0;

plane5.clear();

plane5.beginFill(0x49B667,100);

plane5.lineStyle(3,0xFF0000,100);

plane5.moveTo(p_node[4].x,p_node[4].y);

plane5.lineTo(p_node[3].x,p_node[3].y);

plane5.lineTo(p_node[7].x,p_node[7].y);

plane5.lineTo(p_node[8].x,p_node[8].y);

plane5.lineTo(p_node[4].x,p_node[4].y);

depth=depth+node[4].z+node[3].z+node[7].z+node[8].z;

depth=depth/(-4);

plane5.swapDepths(depth);

amount=depth/50*100+15;

new Color(plane5).setTransform({ra:amount,ga:amount,ba:amount});

depth=0;

plane6.clear();

plane6.beginFill(0xDEB321,100);

plane6.lineStyle(3,0xFF0000,100);

plane6.moveTo(p_node[1].x,p_node[1].y);

plane6.lineTo(p_node[5].x,p_node[5].y);

plane6.lineTo(p_node[8].x,p_node[8].y);

plane6.lineTo(p_node[4].x,p_node[4].y);

plane6.lineTo(p_node[1].x,p_node[1].y);

depth=depth+node[1].z+node[5].z+node[8].z+node[4].z;

depth=depth/(-4);

plane6.swapDepths(depth);

amount=depth/50*100+15;

new Color(plane6).setTransform({ra:amount,ga:amount,ba:amount});


}*/

文章页数:[1] [2] [3] [4] [5] [6] [7] 



相关文章
打印此页 投稿与建议 返回顶部
关于我们 - 联系方式 - 合作伙伴 - 网站大事记 - 网站地图 - 我要投稿
Copyright © 1997-2008 先创网 All Rights Reserved.
先创科技 版权所有