| |||||||
Du magst keine Werbung? Wir auch nicht!
Einfach registrieren und die Werbung ist weg. Diese Nachricht sehen nur nicht registrierte Nutzer.
![]() |
| | LinkBack | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| Neuer User Registriert seit: Nov 2007
Beiträge: 62
| yugop stopfunktion
hallo zusammen!wir haben eine skyline gebaut mit einem scribt das man nach links und rechts scrollen kann.leider läuft es nur als loop.wir hätten gerne das es am ende links und rechts stopt! wäre super wenn jemand ein tip hätte ![]() script: this.onEnterFrame = function () { if (_xmouse < 150) slider._x += (150-_xmouse)*0.15; if (_xmouse > 875) slider._x += (875-_xmouse)*0.15; slider_r._x = slider._x+slider._width; slider_l._x = slider._x-slider._width; } movieclip.prototype.blend = function (obj,faktor){ if (obj.hitTest(_root._xmouse, _root._ymouse, true)) { obj._alpha = obj._alpha+(100-obj._alpha)/faktor; }else{ obj._alpha = obj._alpha+(50-obj._alpha)/faktor; } } for(i=1;i<7;i++) { tmp="cont"+i+"_but"; this.slider_l["cont"+i].zaehler=i; this.slider_r["cont"+i].zaehler=i; this.slider["cont"+i].zaehler=i; // this.slider["cont"+i].onEnterFrame = function() { blend(this, 6.0); }; this.slider_l["cont"+i].onEnterFrame = function() { blend(this, 6.0); }; this.slider_r["cont"+i].onEnterFrame = function() { blend(this, 6.0); }; // this.slider_l["cont"+i][tmp].onRollOver = function() { _root.display =displayarray[this._parent.zaehler]; _root.besch = beschArray[this._parent.zaehler] } this.slider_r["cont"+i][tmp].onRollOver = function() { _root.display =displayarray[this._parent.zaehler]; _root.besch = beschArray[this._parent.zaehler] } this.slider["cont"+i][tmp].onRollOver = function() { _root.display =displayarray[this._parent.zaehler]; _root.besch = beschArray[this._parent.zaehler] } // this.slider_l["cont"+i][tmp].onPress = function() { attachMovie(["mc"+this._parent.zaehler], "dupliRechteck", 200, {_x:500,_y:50,_xscale:100,_yscale:100 }); } this.slider_r["cont"+i][tmp].onPress = function() { attachMovie(["mc"+this._parent.zaehler], "dupliRechteck", 200, {_x:500,_y:50,_xscale:100,_yscale:100 }); } this.slider["cont"+i][tmp].onPress = function() { attachMovie(["mc"+this._parent.zaehler], "dupliRechteck", 200, {_x:500,_y:50,_xscale:100,_yscale:100 }); } } |
| | |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
| |