Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

transition help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nightgaze61 - 25 Jun 2008 22:24 GMT
http://www.koendemuynck.com/

if you click on a category and you click through the pictures in does this cool transition between each picture. does anyone know that is done?
J.Rocker - 25 Jun 2008 22:38 GMT
Hey nightgaze61!

Oh, haha! i love that guy's work. Didnt he win a fwa award too?

Anyway, if you mean the way that the pictures rush off screen to make room for
the next one, then that's done with tweens.

var transition:Tween = new Tween(picture, "x", Regular.easeInOut, picture.x,
stage.stageWidth + picture.width, 10, false);

for instance
that is:

var TweenName:Tween = new Tween(object, "property", transitionType,
StartPosition, EndPosition, duration, true= duration is in time, false=duration
is in frames)

Tell me if that helps,
John
nightgaze61 - 27 Jun 2008 21:30 GMT
Hello John,

May I say you have the coolest last name. Anyway, for [Q]var transition:Tween
= new Tween(picture, "x", Regular.easeInOut, picture.x, stage.stageWidth +
picture.width, 10, false);[/Q]

would this be an action? and would "x" be the name of the symbol? sorry i am a
bit confused.
J.Rocker - 25 Jun 2008 22:39 GMT
Hey nightgaze61!

Oh, haha! i love that guy's work. Didnt he win a fwa award too?

Anyway, if you mean the way that the pictures rush off screen to make room for
the next one, then that's done with tweens.

var transition:Tween = new Tween(picture, "x", Regular.easeInOut, picture.x,
stage.stageWidth + picture.width, 10, false);

for instance
that is:

var TweenName:Tween = new Tween(object, "property", transitionType,
StartPosition, EndPosition, duration, true= duration is in time, false=duration
is in frames)

Tell me if that helps,
John
nightgaze61 - 07 Jul 2008 22:30 GMT
after a lot of searching and research i got what i needed. what you provided
did not work because it could not find the tween. what did work was this:

import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(rachel, {type:Fly, direction:Transition.IN,
duration:3, easing:Strong.easeInOut, startPoint:6});

just for your reference.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.