Macromedia Flash MX 2004 ActionScript: Training from the Source

In earlier lessons, you learned how to use frame, clip, and button events to make things happen often to manipulate a movie clip instance. In this lesson, you'll learn how to manipulate movie clip instances duplicating, attaching, coloring, scaling, and positioning them based on dynamic input. We'll also show you how to control movie clip instances based on the feedback of a clicked button, as well as introduce you to Flash's drawing methods. By the end of the lesson, you will have created a simple drawing application and a dynamically generated scrolling list.

You will create this drawing application in this lesson to learn about the various ways in which you can control movie clip instances dynamically.

WHAT YOU WILL LEARN

In this lesson, you will:

  • Duplicate and attach movie clip instances

  • Create continuous-feedback buttons to move a movie clip instance

  • Draw lines and filled shapes dynamically

  • Change the stacking order of movie clip instances dynamically

  • Script drag-and-drop functionality

  • Remove movie clip instances dynamically

APPROXIMATE TIME

This lesson takes approximately one hour to complete.

LESSON FILES

Starting Files:

Lesson15/Assets/scrollingList1.fla

Lesson15/Assets/draw1.fla

Completed Projects:

scrollingList3.fla

draw5.fla

Категории