MC bei Mausbewegung abspielen [Flash 11]
| Beiträge: 2 Registriert: Jun 2008
| 23.04.2011, 11:48
Hallo,
ich habe hier ein Script von Flash MX5 also altes Actionscript.. und hätte das gerne in AS3 geändert. Worauf muss ich denn achten, bzw. was ist anders?
onClipEvent(load) {
bb = 640;
frames = _totalframes;
s = 0.3;
v = 0.3;
speed = 5;
f = 5;
this.onEnterFrame = function() {
tf = (frames/bb)*_root._ymouse;
f = this._currentframe;
speed = speed*v+(tf-f)*s;
f += Math.round(speed);
this.gotoAndStop(f);
}
}
grüße
domi | | | Beiträge: 147 Wohnort: Qo'noS Registriert: Nov 2009
| 23.04.2011, 12:55
|
|