Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 23-01-2005, 02:37   #1 (permalink)
Neuer User
 
Registriert seit: Sep 2004
Beiträge: 8
Smile _xmouse slide problem

Hi leute ich habe ein prob für mich als as anfänger ein grosses für euch lächerlich
also ich weiss nicht wie ich den bereich begrenzen kann das der mc nur scrollt wenn die mouse over ist hier erst mal der code den ich von flashstar habe

fscommand("allowscale", "false");
outline.swapDepths(10);

function setzePano(obj) {
obj.mittelpunkt = 400;
obj.umkehrPunkt = (obj._width - (obj.mittelpunkt * 2)) / 2;
duplicateMovieClip(obj, "bild2", 1);
bild2._y = obj._y;
obj.onEnterFrame = function() {
this._x += (this.mittelpunkt - this._parent._xmouse) / 100;
if (this._x < -this.umkehrPunkt) {
this._x += this._width;
}
if ((this._x - this._width) > -this.umkehrPunkt) {
this._x -= this._width;
}
this._parent.bild2._x = this._x - this._width;
};
}

setzePano(bild);

danke im vorraus[CODE]
webjo ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an



Alle Zeitangaben in WEZ +1. Es ist jetzt 02:48 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele