正在加载...

有一些方法被彻底废除,包括一些8刚加入的函数,如 “loadBitmap”
call() chr() #endinitclip #include #initclip eval() set/getProperty() removeMovieClip() ….

官方地址 HTML本地下载

看了一下MC的新定义,挺庄重的,有点MSDN的味道,我顺便翻译了一下
The MovieClip class inherits from the following classes: Sprite, DisplayObjectContainer, InteractiveObject, DisplayObject, and EventDispatcher. Unlike the Sprite object, a MovieClip object has a Timeline.

The MovieClip class is the base class for Flex components. However, while Macromedia supports some of the MovieClip interface for use in Flex applications, much of the interface has been overridden by Flex. For more information on using the MovieClip class with Flex, see Developing Flex Applications. The methods for the MovieClip class provide the same functionality as actions that target movie clips. There are also additional methods that do not have equivalent actions in the Actions toolbox in the Actions panel.

You can extend the methods of the MovieClip class by creating a subclass.

MC类由以下类继承而得:Sprite, DisplayObjectContainer, InteractiveObject, DisplayObject, EventDispatcher。和Sprite不同,一个MC对象拥有一个时间轴。

MC类是Flex组件的基础,关于Flex中使用MC的问题,可以参见“开发Flex应用程序”

你可以通过建立子类扩展MC类的方法,不必再劳驾ProtoType了(虽然我还是喜欢用ProtoType偷懒)

那么什么是Sprite呢:
The Sprite class is a basic display list building block: a display list node that can display graphics and can also contain children.
A Sprite object is similar to a movie clip, but does not have a Timeline. Sprite is an appropriate base class for objects that do not require Timelines. For example, Sprite would be a logical base class for user interface (UI) components that typically do not use the Timeline.

The Sprite class is new in ActionScript 3.0. It provides an alternative to the functionality of the MovieClip class, which has retained all the functionality of previous ActionScript releases in order to provide backward compatibility.

Sprite类是用于显示内容的基础,它是AS3.0新带来的(可免时间轴)。它为MC的功能提供一个折衷的选择,为适应向下兼容性保留了之前产品的一些功能。

应该看看这个了:Flex入门教程
Actionscript 3.0 相关文章合集

还没找到您要的东西?Google试试看吧,
Google更注重原创、时效性好的文章:


本文相关评论: 才一条评论
  1. Bible 2005-12-17 06:23:49

    呵呵.枪到一次沙发啊.
    蓝色 04年8月就出FLEX教程了啊?已经一年多了啊.还不知道哪里有破解版
    的FLEX下栽,要不可以玩玩.

[支持Ctrl+Enter]为了我们大家和家人的安全,留言请慎重!
声明:
1、本站仅与见过面的个人博客交换链接,见此文
2、留言时的头像是Gravatar提供的服务。如果您有兴趣并且有闲暇时间,可以看看这里的介绍