hi, i followed this tut but i was wondering if it was possible to limit the resizing of the circles or just not able the resizing thing and just have the speed change with the X/Y mouse
thanks(-:
hi, i followed this tut but i was wondering if it was possible to limit the resizing of the circles or just not able the resizing thing and just have the speed change with the X/Y mouse
thanks(-:
Take a look at my comments. Maybe this will help you.
I am a newbie in flash, hope i’m right. :h:
[AS]
onClipEvent (enterFrame) {
//generating movement
location = this._x;
var i;
i = 1+_root._xmouse/20; //CHANGE _X movement SPEED
if (this, hitTest(_root.block)) {
this._x = -1000;
} else {
this._x = location+i++;
}
//clips are scaled according to y-mouse;
this._xscale = 100+_root._ymouse*5;
this._yscale = 100+_root._ymouse*5;
// 100 is the minimal value
// Let’s say your movie height is 120px and the mouse pointer _y=10 the maximal value will be 100+10*5=600
}
[/AS]
thanks alot for taking the time to help me out, i’ll test it out asap
:: Copyright KIRUPA 2024 //--