Drawing: Object & Merge Models
Flash Compatibility: Flash 8 (earlier versions have Merge Model only)
Written by: Andrei Doubrovski from: Meet the Flash
Editor: Phil Schulz
Length: 300 words
Assumed Knowledge: Minimal knowledge of Flash
Free Flash Tutorial
By default, the Flash uses a Merge Drawing model, that is every new stroke or shape you create merges into the previous strokes and becomes an integral part of the existing image. However, in Flash 8, there is an alternative to this natural order of things. That is to use the Drawing Object model. You can use both Merge and Drawing Object models in a single document and it is easy to switch between the two modes.
Cross Ref: Flash Drawing Tutorials 201 to 209 are a consecutive series and you may want to start from the beginning: Pencil Tool
Step One: The Merge Model
Note: As result, the image is torn or deformed, because the both parts of the oval - Fill and Outline - were merged into the earlier strokes.
Step Two: The Object Drawing Model
Let's try another drawing method:
Note: The blue frame around the created shape tells us that we can reposition it with the Selection Tool without damaging the previous strokes:
Step Three: Converted to a Drawing Object
The existing merged strokes also can be converted to a Drawing Object.
Its surface becomes "dotted" indicating selected area.
Second object is added to selection.
Step Four: Editing Drawing Objects
When you enable the Object Drawing model, it applies to all the drawing and painting tools. Every new stroke creates a new drawing object. On the one hand, it allows us to secure drawn objects. On the other hand, adding 20 strokes to an existing object creates 20 new objects. Imagine handling 200-300 separate objects on your stage! Fortunately, there is a better solution:
Note: All the document outside the selected object fades out. It is a special editing mode - all your changes only affect the current drawing object.
Note: A drawing object may not contain nested objects!
Cross Ref: Go to the next in this drawing series: Next >>>
15913 visitors to this page since
24 Nov 06 •
Webwasp is Phil Schulz's baby. You are welcome to contact me or become my Facebook friend: Click here
All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.