shareea
asked on
Resize/Scale Transition with Actionscript
Would like to know easiest way to get this type page loading transition: http://www.kurtnoble.com/
Was following previous EE thread: https://www.experts-exchange.com/questions/21420139/Need-help-with-transitions-with-AS.html?anchorAnswerId=13976643#a13976643
Curious what negatyve's solution was but it's no longer posted.
Was following previous EE thread: https://www.experts-exchange.com/questions/21420139/Need-help-with-transitions-with-AS.html?anchorAnswerId=13976643#a13976643
Curious what negatyve's solution was but it's no longer posted.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
seanhess
okay - dug around - thanks for pointing me in the right direction
okay - dug around - thanks for pointing me in the right direction
ASKER
In case anyone is following this thread - here's what I came up with for button named home_mc - on first frame of main timeline. If there's an easier way, all comments are welcomed:
//Button Tweens
import mx.transitions.*;
import mx.transitions.easing.*;
function Over(){
var tw1:Tween = new Tween(this, "_xscale", Bounce.easeOut, this._xscale, 125, 0.7, true);
var tw2:Tween = new Tween(this, "_yscale", Bounce.easeOut, this._yscale, 125, 0.7, true);
}
function Out(){
var tw1:Tween = new Tween(this, "_xscale", Bounce.easeOut, this._xscale, 100, 0.7, true);
var tw2:Tween = new Tween(this, "_yscale", Bounce.easeOut, this._yscale, 100, 0.7, true);
}
home_mc.onRollOver = Over;
home_mc.onRollOut = Out;
//Button Tweens
import mx.transitions.*;
import mx.transitions.easing.*;
function Over(){
var tw1:Tween = new Tween(this, "_xscale", Bounce.easeOut, this._xscale, 125, 0.7, true);
var tw2:Tween = new Tween(this, "_yscale", Bounce.easeOut, this._yscale, 125, 0.7, true);
}
function Out(){
var tw1:Tween = new Tween(this, "_xscale", Bounce.easeOut, this._xscale, 100, 0.7, true);
var tw2:Tween = new Tween(this, "_yscale", Bounce.easeOut, this._yscale, 100, 0.7, true);
}
home_mc.onRollOver = Over;
home_mc.onRollOut = Out;
ASKER