影片剪辑和图形符号之间的性能有区别吗?

发布于 2024-09-29 08:06:24 字数 40 浏览 0 评论 0原文

我想知道影片剪辑符号和图形符号之间的性能/内存使用是否有任何差异?

I was wondering if there is any difference in performance/memory use between movieclip symbol and graphic symbol?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

窝囊感情。 2024-10-06 08:06:24

是的,有。

在这方面,Shape 将是最轻的可用 DisplayObject,因为您无法实例化 DisplayObject 类。

如果您需要更多功能,例如注册鼠标事件或添加子项,您可以移至 Sprite ,最后,如果您使用 Flash CS 并需要时间轴,请选择 MovieClip。

Yes, there is.

In that regard a Shape would be the lightest available DisplayObject, since you can't instantiate a DisplayObject class.

If you need more functionality, such as registering Mouse Events or adding children, you can move to the Sprite , finally if you're working with Flash CS and need the Timeline, opt for the MovieClip.

半夏半凉 2024-10-06 08:06:24

另一种观点是,影片剪辑仅占用主时间轴中的单个帧即可工作。而图形符号在主时间轴中需要与内部相同数量的帧。这是因为图形符号没有自己独立的时间线。电影剪辑有自己的时间线。

而且。您不能向图形符号添加交互性和声音等。在影片剪辑中,您也可以添加这些功能和许多其他功能。

Another view is that a Movie clip occupies only a single frame in the main timeline to work. whereas the graphic symbol would need the same amount of frames in the main timeline as inside. It is because the graphic symbols donot have their own separate timeline. The movie clips have their own time line.

Moreover. you cannot add interactivity and sounds etc to a graphic symbols. while in a movie clip, you can add these and a bunch of other functionalities too.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文