OpenStax CNX

Sections
You are here: Home » Content » Events, Triggers, and Effects

About: Events, Triggers, and Effects

Module by: R.G. (Dick) Baldwin. E-mail the author

View the content: Events, Triggers, and Effects

Metadata

Name: Events, Triggers, and Effects
ID: m34456
Language: English (en)
Summary: Learn about the relationships among events, triggers, and effects. Learn about two different ways to write ActionScript code to play effects. One way calls the setStyle method on the target component passing an effect trigger and an effect as parameters to the method. The other way creates an Effect object targeted to the component and calls the play method on the object. Also learn how to play multiple effects in parallel or in sequence.
Subject: Science and Technology
Keywords: actionscript, addEventListener, base class, class, derived class, dynamic binding, effect, encapsulation, event, event handler, extends, flash, flex mxml, inheritance, late binding, method, object, overload, override, polymorphism, programming, run-time, subclass, superclass, trigger
License: Creative Commons Attribution License CC-BY 3.0

Authors: R.G. (Dick) Baldwin (Baldwin@DickBaldwin.com)
Copyright Holders: R.G. (Dick) Baldwin (Baldwin@DickBaldwin.com)
Maintainers: R.G. (Dick) Baldwin (Baldwin@DickBaldwin.com)

Latest version: 1.1 (history)
First publication date: May 20, 2010 1:41 pm -0500
Last revision to module: May 20, 2010 3:55 pm -0500

Downloads

PDF: m34456_1.1.pdf PDF file, for viewing content offline and printing. Learn more.
XML: m34456_1.1.cnxml XML that defines the structure and contents of the module, minus any included media files. Can be reimported in the editing interface. Learn more.

Version History

Version: 1.1 May 20, 2010 3:55 pm -0500 by R.G. (Dick) Baldwin
Changes:
Initial publication

How to Reuse and Attribute This Content

If you derive a copy of this content using a OpenStax-CNX account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 3.0), you must include

  • the authors' names: Richard Baldwin
  • the title of the work: Events, Triggers, and Effects
  • the OpenStax-CNX URL where the work can be found: http://cnx.org/content/m34456/1.1/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 3.0) of this work:

American Chemical Society (ACS) Style Guide:

Baldwin, R. Events, Triggers, and Effects, OpenStax-CNX Web site. http://cnx.org/content/m34456/1.1/, May 20, 2010.

American Medical Assocation (AMA) Manual of Style:

Baldwin R. Events, Triggers, and Effects [OpenStax-CNX Web site]. May 20, 2010. Available at: http://cnx.org/content/m34456/1.1/.

American Psychological Assocation (APA) Publication Manual:

Baldwin, R. (2010, May 20). Events, Triggers, and Effects. Retrieved from the OpenStax-CNX Web site: http://cnx.org/content/m34456/1.1/

Chicago Manual of Style (Bibliography):

Baldwin, Richard. "Events, Triggers, and Effects." OpenStax-CNX. May 20, 2010. http://cnx.org/content/m34456/1.1/.

Chicago Manual of Style (Note):

Richard Baldwin, "Events, Triggers, and Effects," OpenStax-CNX, May 20, 2010, http://cnx.org/content/m34456/1.1/.

Chicago Manual of Style (Reference, in Author-Date style):

Baldwin, R. 2010. Events, Triggers, and Effects. OpenStax-CNX, May 20, 2010. http://cnx.org/content/m34456/1.1/.

Modern Languages Association (MLA) Style Manual:

Baldwin, Richard. Events, Triggers, and Effects. OpenStax-CNX. 20 May 2010 <http://cnx.org/content/m34456/1.1/>.