http://bbs.flash8.net:8000/cgi-bin/topic_show.cgi?id=14205&h=1&bpg=1&age=-1
108。问:如何实现flash背景颜色的随机变换 (erik168)
http://bbs.flash8.net:8000/cgi-bin/topic_show.cgi?id=16519&h=1&bpg=1&age=-1 dHK'AaJjXRukfv{' [ 本 资 料 来 源 于 贵 州 学 习 网 网页设计Flash教程 http://Www.gzU521.com ] dHK'AaJjXRukfv{'
109:问:flash 5.0 actions 一览! (djsgh)
答:http://bbs.flash8.net:8000/cgi-bin/topic_show.cgi?id=7607&h=1&bpg=1&age=-1
110。问:如何制作动作连贯的小黑人(拾荒)
答:http://bbs.flash8.net:8000/cgi-bin/topic_show.cgi?id=35539&h=1&bpg=1&age=-1
111。问:初学者如何人打好action基础(小晶)
答:http://bbs.flash8.net:8000/cgi-bin/topic_show.cgi?id=15164&h=1&bpg=1&age=-1
112。问:如何实现画中画效果(木桫椤)
答:http://bbs.flash8.net:8000/cgi-bin/topic_show.cgi?id=7552&h=1&bpg=1&age=-1
113。问:flash如何与后台连接?[源码]
答:使用loadvars()对象的sendandload()方法来发送和接收数据
114。问:如何实现声音的暂停/播放效果?
答:在执行stop()命令时可以用sound对象的position属性取得当前声音文件的播放时间(毫秒),然后用start(time,loop)在当前位置播放即可。
115。问:如何定义二维数组?
答:下面定义一个20*20的二维数组,值全部为0
sarray = [];
for (var i = 0; i<=19; i++) {
sarray[ i] = [];
for (var j = 0; j<=19; j++) {
sarray[ i][j] = 0;
}
}
116。问:如何打开指定属性的窗口?[源码][/color]
答:先js在html页面中定义函数,然后在flash中用geturl()调用
(turbine)
117。问:如何通过mc中的按钮跳转场景?
答:在要跳转的桢上加标签,通过标签跳转:gotoandstop("yourlable")
(turbine)
118。问:如何随机设置mc颜色?
答:mc实例名为"mc"
mycolor=new color("mc")
mycolor.setrgb(random(0xffffff))
(turbine)
119。问:如何实现双击效果?
答:把下面的代码放到按钮上:
on (press) {
time = gettimer()-down_time;
if (time<300) {