-
Using AS to ease in then out?
Hi everyone.
I am new at AS and am working on a movie where when I click a link the menu will go left and a window will go right. The first open always works fine its when I click another link and I want it to close then open again both easing in and out. The problem is that when I click the link it will barly move. If I take out one or the other then it works fine.
It seems like its doing the last part just skipping over the first part.
Thanks for your time.
function orb_tween() {
easeType = mx.transitions.easing.Regular.easeOut;
var begin = 400;
var end = 165;
var time = .9;
var mc = interface_mc.orb_mc;
ballTween = new mx.transitions.Tween(mc, "_x", easeType, begin, end, time, true);
easeType = mx.transitions.easing.Regular.easeOut;
var begin = 165;
var end = 400;
var time = .9;
var mc = interface_mc.orb_mc;
ballTween = new mx.transitions.Tween(mc, "_x", easeType, begin, end, time, true);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|