logo
g Text Version
Auto
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Society & Culture
Sports
Travel & Leisure
TV & Movies

dailyclick
Bored? Games!
Postcards
Astrology
Take a Quiz
Rate My Photo

new
Spirituality
Home Improvement
Vegetarian
NASCAR
Southcentral USA


dailyclick
All times in EST

Autism Spectrum Disorders: 4:00 PM

Full Schedule
g
g Flash Site
Diane Cipollo
BellaOnline's Flash Editor

g

Flash Page Transition Effect Copy to Grid

In this Flash tutorial, we will create a very popular page transition effect using the Flash Copy to Grid assistant. This Copy to Grid assistant has been around for several versions of Flash as part of the Timeline Effects. However, because it is such a useful and time saving feature, I feel it should be part of every Flash designer's toolbox.

Here is the transition we will be building. As you can see, eleven vertical rectangles expand over the stage and work as a mask to reveal the background image. With the help of the Copy to Grid assistant, we only need to create one rectangle movie clip and then assign a Motion Tween animation to it. The rest of the work to create the page transition animation is done for us by Flash.

Let's start a new 550 x 400 pixel movie and we will use ActionScript 2.0. The empty movie should have only one frame and one "Layer 1" layer in the Timeline. Rename this layer to "Transition". For our example, I have imported a background image to the stage. This gave me a new layer in the Timeline. I renamed this layer to "Background" and dragged it down to make it the bottom layer in the Timeline. We will be working on the Transition layer.

  1. Click on Frame 1 of the Transition layer. Using the Rectangle tool, draw a small rectangle anywhere on the stage (Stroke to null, Fill to black or any color of your choice).

  2. With the Selection tool, select the rectangle. In the Property Inspector, set the rectangle's Width to 50 pixels, Height to 400 pixels and the X and Y positions to 0.0. If you are using a stage of a different size, you will want the height of your rectangle to be the height of the stage. Then divide the width of the stage by any number to get the width of your rectangle.

  3. With the rectangle still selected, go to the Menu bar and click Insert – Timeline Effects – Assistants – Copy to Grid. This will open the Copy to Grid dialog box. It will take eleven of our rectangles to cover the entire stage. For the Grid Size options, set the number of Rows to 1 and the Columns to 11. (If you are using a different number of rectangles, replace the 11 with your number of rectangles.) Also, set both of the Rows and Columns for the Grid Space options to zero. Click the Update Preview button and wait a few sections for Flash to finish. Then click OK to close the dialog box. You should now see black over the entire stage.

  4. Go to the Library. There you will find a graphic named "Copy to Grid 1" and another graphic named "effectSymbol" (inside the Effects Folder). Right-click on the effectSymbol graphic and choose Properties from the menu. In the Properties dialog box, change the Type from Graphic to Movie Clip. Repeat this for the Copy to Grid 1 graphic.

Now we are ready to attach the Motion Tween to the effectSymbol movie clip. From the Library, double-click on the effectSymbol movie clip and you will be taken to the movie clip's Timeline.

Next →





RSS | Related Articles | Previous Features | Site Map


Content copyright © 2008 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Diane Cipollo for details.

Digg! g delicious Save to Del.icio.us

g


For FREE email updates, subscribe to the Flash Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor

g features
Opening an Envelope Flash ActionScript 3

Finishing the Blinkie with Flash Motion Tweens

Transform Timeline Effect in Flash CS3

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Driving Amount
Much more
Slightly more
Slightly less
Much less

g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2008 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor