Does anyone know how to do this or achieve the same thing in a diffrent way described here?
http://robouk.mchost.com/tuts/tutorial.php?tutorial=smartnav
Thanks =)
Does anyone know how to do this or achieve the same thing in a diffrent way described here?
http://robouk.mchost.com/tuts/tutorial.php?tutorial=smartnav
Thanks =)
Bump ! :beam:
I also would like to know if there is another way. anyone?
http://www.kirupa.com/developer/mx/followease.htm :sigh:
The only difference would be you either remove the _y properties, or for the button rollover you just change the value of endX on the rollOver to where you want it to go instead of the mouse location :-\
why would you want another way?
setProperty and getProperty are a bit outdated, and the new dot syntax (flash 5+) makes it easier to write.
Thanks lost , will look into that, got the following code from another thread i saw here on kirupa, seems to work fine, just that the individual arrow tweens are varied. Say you select the first button , it will tween slowly, but when you select the last it will zoom across , so it gives a un-even animation feel. CHeck out the fla and this code , maybe you can optimise it some how . thanks.
//frame1
_global.originalWidth = arrow._width;
arrow.onEnterFrame = function() {
this._x += (this.x-this._x)/6;
};
//on butt 1
on (rollOver) {
_parent.arrow.x = _parent.butt1._x;
_parent.arrow._width = _parent.butt1._width+2;
}
on(rollOut){
_parent.arrow.x = _parent.buttoff._x;
_parent.arrow._width = _parent.buttoff._width+2;
}
:: Copyright KIRUPA 2024 //--