OpenStax CNX

You are here: Home » Content » Dragging Objects between Containers

About: Dragging Objects between Containers

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

View the content: Dragging Objects between Containers


Name: Dragging Objects between Containers
ID: m34481
Language: English (en)
Summary: Learn how to drag objects between containers while giving each container the ability to either accept or reject the drop based on the type of object being dropped.
Subject: Science and Technology
Keywords: actionscript, addEventListener, alpha, base class, Bitmap, BitmapData, chromakey, chroma key, class, custom effects, derived class, drag, drag and drop, drop, dynamic binding, effect, encapsulation, event, event handler, extends, flash, flex mxml, inheritance, late binding, method, object, overload, override, polymorphism, programming, run-time, subclass, superclass, transparency, trigger
License: Creative Commons Attribution License CC-BY 3.0

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

Latest version: 1.1 (history)
First publication date: May 26, 2010 2:14 pm +0000
Last revision to module: May 26, 2010 3:34 pm +0000


PDF: m34481_1.1.pdf PDF file, for viewing content offline and printing. Learn more.
XML: m34481_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 26, 2010 3:34 pm +0000 by R.G. (Dick) Baldwin
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: Dragging Objects between Containers
  • the OpenStax-CNX URL where the work can be found:

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. Dragging Objects between Containers, OpenStax-CNX Web site., May 26, 2010.

American Medical Assocation (AMA) Manual of Style:

Baldwin R. Dragging Objects between Containers [OpenStax-CNX Web site]. May 26, 2010. Available at:

American Psychological Assocation (APA) Publication Manual:

Baldwin, R. (2010, May 26). Dragging Objects between Containers. Retrieved from the OpenStax-CNX Web site:

Chicago Manual of Style (Bibliography):

Baldwin, Richard. "Dragging Objects between Containers." OpenStax-CNX. May 26, 2010.

Chicago Manual of Style (Note):

Richard Baldwin, "Dragging Objects between Containers," OpenStax-CNX, May 26, 2010,

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

Baldwin, R. 2010. Dragging Objects between Containers. OpenStax-CNX, May 26, 2010.

Modern Languages Association (MLA) Style Manual:

Baldwin, Richard. Dragging Objects between Containers. OpenStax-CNX. 26 May 2010 <>.