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

Class Parameters for Flash CS3 fl.transitions


  • PixelDissolve Transition

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

    // apply PixelDissolve transition
    TransitionManager.start(photo_mc, {type:PixelDissolve, direction:Transition.IN, duration:5, easing:None.easeNone, xSections:50, ySections:50});

    The PixelDissolve effect takes two class parameters. The xSections parameter can be an integer from 1 50 and sets the number of small masks on the horizontal axis. The ySections parameter does the same for the vertical axis.

  • Rotate Transition

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

    // apply Rotate transition
    TransitionManager.start(photo_mc, {type:Rotate, direction:Transition.IN, duration:5, easing:None.easeNone, ccw:false, degrees:1080});

    The Rotate effects needs two class parameters. The ccw parameter sets the rotation to counter clock wise if the boolean value is set to true and clock wise if set to false. The degrees parameter is an integer between 1 9999 and determines the amount of rotation. For example, to rotate the object three times, I have set this parameter to 360 x 3 which is 1080.

  • Squeeze Transition

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

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

    The Squeeze class parameter is dimension and can be an integer 0 or 1. If set to 0, the effect will be horizontal and vertical, if set to 1.

  • Wipe Transition

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

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

    The Wipe effect takes the startPoint class parameter which controls the starting point for the effect. As above, the integer can be 1 9.


← Back
Join us in the Flash forum.




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



 



RSS | 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