May
13
再一次见识了PV3D的强大,看看官方的说明
Displays images on an engaging interactive 3D wall using the Papervision3D engine. The wall can be flat or set at any curvature to create a truly unique look. The viewer can also scroll, tilt and zoom the wall freely. Includes a built-in preloader for seamless transitions between thumbs and large images. Over 60 parameters to customize your wall ensures unlimited number of looks and an enticing viewer experience. Available for ActionScript 3.0 (Flash CS3) only.
可以变平坦,也可以任意弯曲,可以滚动,放大,缩小3D墙,内置loading,包含了60多个客户端参数,AS3 only。
当然这么优秀的产品,也不是谁都能获得的,想要,就得花费$99。
Apr
1
测试网站:http://www.discoveryland.cn
纯FLASH制作,可以在IE+FF下正常运行,但是到了Maxthon里,却卡壳了,死活不调用我的函数。无语。
肇事代码:
this.createEmptyMovieClip("ad_loader",6);
var ad_load_clip:MovieClipLoader = new MovieClipLoader();
var ad_obj:Object = new Object();
ad_obj.onLoadStart = function(m:MovieClip){
//ExternalInterface.call("debug","load ad!");
trace("开始载入广告");
}
ad_obj.onLoadProgress = function(m:MovieClip,loaded,total){
//trace(loaded/total);
}
ad_obj.onLoadInit = function(m:MovieClip){
trace("广告载入完毕");
m._x = -10;
m._y = 10;
load_player();
//ExternalInterface.call("debug","ad loaded!");
}
ad_load_clip.addListener(ad_obj);
ad_load_clip.loadClip("media/ad.swf",ad_loader);
}
Mar
30
AS2.0+PHP
preview
说明:
数据是通过文本存放的,所以需要保证该目录可以读写;暂时没做session判断,所以刷新后可以继续投票;仅供学习研究。
enjoy!
Mar
22
由于自己是初次做flash项目,经验的不足导致处处被动,无论是修改代码还是查看代码都比较困难,往往是牵一发而动全身,现总结如下几条经验
1、能写成函数的写函数,能写成类的写成类
2、尽量用变量而不是数字直接代入
3、对深度的管理:如果把握不好,经常会出现被挡住了或覆盖了的情况
4、坐标问题:由于经常是主swf载入次swf,还要监听舞台的缩放,由此产生了对齐问题
5、swf的结构:如通过main载入index,然后再由index载入widget等等。
6、等想到了再补充
Feb
17
不用js,只需flash就能搞定了,主要是用了ExternalInterface.call方法,其本质还是通过flash去调用js函数
var urlPath;
var param_info;
function geturlhttp() {
urlPath = ExternalInterface.call('eval', 'window.location.href');
//如果使用urlPath = ExternalInterface.call("window.location.href.toString");的话IE不识别,不过我测试了一下,也没有问题
param_info = urlPath.split("?")[1];
}
geturlhttp();
urlText.text = urlPath;
if(param_info == undefined){
param.text = "no param";
}else{
param.text = param_info;
}
测试地址:
http://www.live-my-life-with-yuyi.com/temp/test_url.html?blue=idea
Dec
27
之前有人问起过,一直忘了,做了个demo,使用了jQuery。
说白了,就是取得该object的id,然后重新设置宽和高,就这么简单




