Summary


  • Collisions occur when two or more elements in a Flash movie touch each other. Whenever the space by one Movie Clip instance occupies the space of another, a collision, or "hit," has occurred.

  • You can detect simple user-initiated collisions by using the startDrag() method and _droptarget property of the MovieClip object.

  • Using the hitTest() method of the MovieClip object, you can detect the intersection of X and Y coordinates with a specified Movie Clip instance. You can also use hitTest in a similar fashion to _droptarget, where the overlap of two specific Movie Clip instances is detected.

  • You can use the ColorTransform class to create new color values and apply them to Movie Clip instances.

  • You can create sound libraries in less time by using ActionScript and the Sound object. You create Sound objects by using Linkage identifiers for sound files in the movie's Library.

  • By using the new PrintJob class, you can output high-quality artwork to a PostScript or non-PostScript printer.




Macromedia Flash 8 Bible
Macromedia Flash8 Bible
ISBN: 0471746762
EAN: 2147483647
Year: 2006
Pages: 395

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net