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.