Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 01-04-2010, 15:10   #1 (permalink)
Neuer User
 
Registriert seit: Dec 2009
Beiträge: 53
Question Schieberegler und Textfeld

Hallo.

Hab gerade einen Schieberegler gemacht mit der von 0 - 1000 funktioniert und den wert dann in einem textfeld ausgibt.

Hab jetzt bloß das problem das man jetzt auch im Textfeld eine zahl eingeben können soll und das der regler sich dann dementsprechend verschiebt.

Hab da aber irgendwie ein problem mit dem onEnterFrame()

Kann mir da bitte jemand helfen.

Der code im Regler:

PHP-Code:
onLoad = function () {
    
this.destination this._x;
};

onPress = function () {
    
startDrag(thisfalse_global.X_REGLER_MIN122.5_global.X_REGLER_MAX122.5);
};

onRelease = function () {
    
this.stopDrag();
};


onReleaseOutside = function () {
    
this.stopDrag();
};


onEnterFrame = function () {
    if (
_root.b_n._x == _global.X_REGLER_MIN) {
        
_root.t_n 0;
        
this.destination = (_root.b_n._x-_global.X_REGLER_MIN)*10;
    } else if (
_root.b_n._x == _root.b_n._x) {
        
_root.t_n = (_root.b_n._x-_global.X_REGLER_MIN)*10;
        
this.destination = (_root.b_n._x-_global.X_REGLER_MIN)*10;
    }
}; 
SaiyaGin 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


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Schieberegler soll Ausgabe in Textfeld schreiben und umgekehrt? ll_cobra_ll Flash Einsteiger 5 19-04-2007 09:20
Schieberegler TanteTina Flash MX 2004 2 29-05-2005 20:23
Schieberegler Duzer ActionScript 1 0 03-07-2002 12:08
schieberegler cane ActionScript 1 5 26-04-2002 13:11
schieberegler theexplainer ActionScript 1 8 23-02-2002 21:56


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:11 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele