Tag Archive: Flash


谈谈FWA上推荐的IKEA

IKEA Dream Kitchen

相信这个IKEA互动项目对很多人来说都有耳目一新的感觉。今天得空把中间的一些特点拿出来研究一下,发现还是挺有价值的。

首先最具震撼效果的肯定就是那个很有感觉的转场了。具体怎么实现不得而知,不过无非是定点拍摄和三维两种做法,从画面的细节来看拍摄的可能性大些。
View full article »

ExternalInterface (flash.external.ExternalInterface)是Flash 8新增的外部API。用于Flash影片和Flash播放器容器直接通讯的一个通用应用程序接口。典型的Flash Player容器就是使用Javascript的html页面或者是内置了Flash Player的应用程序。使用这个类进行通讯的方法将代替以前fscommand()或者Macromedia Flash/JavaScript Integration Kit

public static addCallback(methodName:String, instance:Object, method:Function) : Boolea

调用ExternalInterface类的addCallback()静态方法建立一个对外公开的Flash内部函数。methodName就是对外可见的函数名。instance和method则是as对象以及该对象的方法。若在网页中,必须先得到Flash Player的引用: View full article »

Issues with Bounding Box

如图建一个包含文本框的mc:
http://kevincao.com/wp-content/uploads/200508/11_101821_textblock.gif
给mc上加上

 
onClipEvent(load) {
	trace(this._width);
	trace(this._height);
}

View full article »

Powered by KevinCao.com ©2010 | Platform: WordPress | Theme: Motion
kevincao.com