Archive for April, 2009

Update Week 5: Source files

Here are the source files for all the examples we looked over last fri.

~

First is the completed version of the click drag explode example we were working on in class.

Download click drag explode complete Source Files

Number of Downloads: 36

~

Everything else including more basic examples of drag drop and the loader class is in the download below

~

Download week 5 examples

Number of Downloads: 16

Week: 5 Children, Parents, Drag and Drop & Loading

This week we’re covering adding and removing children to the display list, which we’ve already used the basics of with addChild and removeChild. We’ll also be going through alot of the other methods available for parenting objects and get into some drag and drop and hit test functionality. Hopefully if there’s time we’ll cover loading and unloading external swfs as well. ~ The example we’re going to make is this one below which builds on some of the previous topics we’ve learned about event propogation, mouseEvents and enter frame events.

~

-Click on the “new star” button to add a star to the white container.

-rollover the stars to make them spin -click and drag the stars around the stage

-drag the star over the skull and cross bone to explode it and remove it.

-turn the boundaries of the draggable area on or off with the “toggle Boundary” button

Get Adobe Flash player ~

Download week Click Drag Explode starter files

Number of Downloads: 50

Download Size: 732.7 kB Download Updated: April 3, 2009