Flash - 为 Flash CS5 创建组件文档

发布于 2024-10-03 14:32:48 字数 1539 浏览 0 评论 0原文

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

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

发布评论

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

评论(1

天生の放荡 2024-10-10 14:32:48

据我所知,自 Flash CS3 以来,Flash CS5 中的 UI 组件没有发生任何变化。

Jeff Kamerer 在 Adobe Devnet 上撰写了一个关于在 Flash 中创建 AS3.0 组件的长篇系列文章

以下是一些涵盖的主题(来自 Robert Penner

  • 设置图层和框架在你的
    组件影片剪辑符号
  • 为您的应用程序实施实时预览
    组件
  • 调度事件
  • 支持样式且易于编辑
    皮肤
  • 通过失效管理绘图
    模型
  • 管理焦点
  • 处理键盘输入
  • 为您的模型创建一个已编译的剪辑垫片
    ActionScript 定义
  • 将您的组件部署到
    组件面板

如果您不打算使用 V2 组件架构,则可以使用
组件定义面板可轻松将类属性链接到组件检查器。

组件定义面板

在稍微相关的问题中对此进行了更多介绍 AS3 使用 Flash CS4 创建组件

华泰

The UI Components in Flash CS5 haven't changed since Flash CS3 as far as I've noticed.

Jeff Kamerer wrote a lengthy series on the Adobe Devnet on creating AS3.0 Components in Flash.

Here are some of the topics covered (via Robert Penner )

  • Set up the layers and frames in your
    component movie clip symbol
  • Implement Live Preview for your
    component
  • Dispatch events
  • Support styles and easily editable
    skins
  • Manage drawing with the invalidation
    model
  • Manage focus
  • Handle keyboard input
  • Create a compiled clip shim for your
    ActionScript definitions
  • Deploy your component to the
    Components panel

If you're not planning to use the V2 Component architecture, you could just use
Component Definition panel to link your class properties to the Component Inspector easily.

component definition panel

A bit more on this in the slightly related question AS3 create component using Flash CS4.

HTH

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