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

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

new
European Travel
Action Movies
Bible Basics
Houseplants
Romance Movies
Creativity
Family Travel


dailyclick
All times in EST

Full Schedule
g
g Flash and Animation Site

BellaOnline's Flash and Animation Editor

g

Flash CS3 fl.transitions Class Parameters


In this tutorial, we will take a look at the rest of the transitions in the fl.transitions package for FlashR CS3. Last time, we examined the transitions that used the basic code for the TransitionManager.start() method which creates a TransitionManager instance, applies the transition effect to the object of your choice and starts the transition.

Now, we want to take it a step up and look at the extra class parameters needed for these transition effects. Each of these transitions has its own class parameters that you can use to refine the effect.

  • Blinds Transition

    import fl.transitions.*;
    import fl.transitions.easing.*;

    // apply Blinds transition
    TransitionManager.start(photo_mc, {type:Blinds, direction:Transition.IN, duration:5, easing:None.easeNone, numStrips:20, dimension:1});

    As you can see, the Blinds effect takes two class parameters. The numStrips parameter sets the number of horizontal or vertical lines that are used to create the effect. This can be an integer between 1 - 50. The dimension parameter sets the strips to horizontal (0) or vertical (1).

  • Fly Transition

    import fl.transitions.*;
    import fl.transitions.easing.*;

    // apply Fly transition
    TransitionManager.start(photo_mc, {type:Fly, direction:Transition.IN, duration:5, easing:None.easeNone, startPoint:1});

    The Fly effect takes one class parameter. The startPoint parameter determines the starting point for the effect. You can set the startPoint to an integer from 1-9 as follows.

    1 top left
    2 top center
    3 top right
    4 left center
    5 center
    6 right center
    7 bottom left
    8 bottom center
    9 bottom right

  • Iris Transition

    import fl.transitions.*;
    import fl.transitions.easing.*;

    // apply Iris transition
    TransitionManager.start(photo_mc, {type:Iris, direction:Transition.IN, duration:5, easing:None.easeNone, startPoint:5, shape:Iris.CIRCLE});

    The Iris effect takes two class parameters. The startPoint parameter is controlled by an integer 1 9 as in the Fly effect. The shape parameter controls the shape of the mask. It can be set to CIRCLE or SQUARE.

Next →
Join us in the Flash forum.




Add Flash+CS3+fl%2Etransitions+Class+Parameters to Twitter Add Flash+CS3+fl%2Etransitions+Class+Parameters to Facebook Add Flash+CS3+fl%2Etransitions+Class+Parameters to MySpace Add Flash+CS3+fl%2Etransitions+Class+Parameters to Del.icio.us Digg Flash+CS3+fl%2Etransitions+Class+Parameters Add Flash+CS3+fl%2Etransitions+Class+Parameters to Yahoo My Web Add Flash+CS3+fl%2Etransitions+Class+Parameters to Google Bookmarks Add Flash+CS3+fl%2Etransitions+Class+Parameters to Stumbleupon Add Flash+CS3+fl%2Etransitions+Class+Parameters to Reddit



 



RSS | Related Articles | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the Flash and Animation Newsletter


Past Issues


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


Content copyright © 2014 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.

g


g features
Motion Workspace - Checkbox, Dials and More

Motion Workspace - Menu, Icons and Sliders

The Motion Toolbar Tools

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


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


BellaOnline Editor