计算机与现代化 ›› 2011, Vol. 1 ›› Issue (1): 73-3.doi: 10.3969/j.issn.1006-2475.2011.01.021

• 应用与开发 • 上一篇    下一篇

ActionScript3.0事件流机制应用研究

俞淑燕,徐浙君   

  1. 浙江邮电职业技术学院管理与信息系,浙江 绍兴 312016
  • 收稿日期:2010-10-15 修回日期:1900-01-01 出版日期:2011-01-20 发布日期:2011-01-20

Application Research on Event Flow Mechanism of ActionScript3.0

YU Shu-yan, XU Zhe-jun   

  1. Department of Management and Information, Zhejiang Technical College of Posts & Telecom, Shaoxing 312016, China
  • Received:2010-10-15 Revised:1900-01-01 Online:2011-01-20 Published:2011-01-20

摘要:

事件流机制是ActionScript3.0的核心功能之一,ActionScript3.0开发者若掌握不好,将导致复杂事件的侦听混乱而不能实现理想的交互效果。本文通过一案例阐述事件流机制的三个阶段,并对一定的属性和方法进行设置从而改变对节点的侦听,进而阐明如何利用ActionScript3.0的事件流机制来控制对节点的侦听。

关键词: 事件流, 节点, 侦听器, ActionScript3.0

Abstract:

Even flow mechanism is one of the core features of ActionScript3.0. Listening confusion of complex event will occur, and then the desired interactive effect will not be implemented enventually if the ActionScript3.0 developers are handled badly. Through describing a case, the three stages of event flow mechanism are expounded, and by setting certain attribute and function, the listening of the node will be changed. The article expounds on how to use event flow of ActionScript3.0 to control the listening of the node.

Key words: event flow, node, listener, ActionScript3.0