博客 - 标签:flash

创意Flash网站设计欣赏

2009-11-5 上午 - Web Design - -

Flash网站已经不再是曾经简单的鼠标事件,不再是单一的切换,因为这些Javascript技术已经帮它实现,现在的Flash在网站设计中扮演着更为重要的角色,尤其在3D方面的表现,总会让我们目瞪口呆的。一个优秀的Flash驱动的网站,就像一部令人印象深刻的电影,给我们带来视觉上的享受。

Coke Live Music Festival

coke live music

Shinkansen and Love

shinkansen_love

SoInteractive

sointeractive

oductions

glass and a half full

Cristof Echard

cristof-echard

The Economist: Thinking Space

thinkingspace economist

Tag Galaxy

taggalaxy

I am uniQue

i am unique

Audi VDT

audi_vdt

100 Best Films

100bestfilms

Florian Bernard’s Portfolio

13flo

thetoke

thetoke

The Profiler

the profiler

Sony Bravia

colour bravia

Toyota iQ

toyota_iq

the951

the951

Me InTru 3D

meintru3d

Morgan Stanley Matrix

morganstanley

Honda Accord 2008

accord2008

Lech

lech

Hatica 2009

hatica2009

Pritt Knutselwereld

knutselwereld

Zeebee

zeebee

Darcmatter Labs

darcmatter

原文出自:bbon.cn

1 Comment »

做个笔记-AS3鼠标事件

2009-08-17 下午 - html/css/xml/xsl - - -

工作上极少用到Flash,之前略懂一点简单动画制作。最近才接触ActionScript3,落伍了~。方才知已有很大改变,许多以前掌握的老方法都不灵了。

最简单的鼠标事件,都改变了。AS走上了一个更高的台阶,功能强大且性能好。

以下笔记部分:

元件上不能写代码,代码须写在帧上。因此一个按钮元件,鼠标事件将有很大差异。以下做个鼠标点击是示例:

AS2:

  1. on(release)
  2. {
  3.     //执行代码
  4. }

AS3:

  1. btn.addEventListener(MouseEvent.CLICK,functionbtn); //btn为按钮元件
  2. function functionbtn(event:MouseEvent):void
  3. {
  4.     //执行代码
  5. }

1 Comment »