最近要做一个东东有用到。
不过更强悍的是前几天看到有人用JS也实现了这个效果。
See:http://weblog.cahlan.com/2007/01/reflection-class.html

I’m a Web 2.0/Apple copycat today, so here is a simple class for creating a reflection below any type of displayObject in AS3.View the source here.

下载示例:Reflection.zip

从alternativaplatform的3D Engine Demo里抠出来的。

点此下载

继承了Sprite

使用方法

Flex:

	var ui:UIComponent=new UIComponent();
	addChild(ui);
	var fps:FPS=new FPS();
	ui.addChild(fps);

Flash:

	var fps:FPS=new FPS();
	addChild(fps);
© 2012 达达's Blog Suffusion theme by Sayontan Sinha