{lang: 'de'}
Flashhilfe.de - Flash Community

Thema: Prototype

Beiträge zum Thema "Prototype"
 
 Seite1 2 3 4 5 6
Benutzerbild von Sebastian

Prototype: TextFormat.setFont [Flash 8]Alternative Schriftauswahl TextFormat.prototype.setFont = function() { var suche = arguments.split(","), font_liste = (TextField.getFontList().toString()+",").toLowerCase(); for(var i=0;suche.length;i++) { if(font_liste.indexOf(( [...]
Benutzerbild von Sebastian

Prototype: String.shuffle [Flash 8]String in zufälliger Reihenfolge sortieren String.prototype.shuffle = function() { var str = "", temp_str = this.split(""); while(temp_str.length) { str += temp_str.splice(random(temp_str.length),1); } return str; } [...]
Benutzerbild von Madokan

Prototype: Math.zufallZwischen [Flash 8]
02.07.2003 - 0 Kommentare - Forum, Tipps & Tricks zu Flash, Flex und Adobe AIR - Madokan
Schlagwörter: math, prototype
Zufallswert zwischen min/max // Zufallswert von pmin bis pmax Math.zufallZwischen = function(pmin, pmax) { return (pmin + Math.floor(Math.random() * (pmax - pmin + 1))); }; // Verwenden trace(Math.zufallZwischen(-5, 5));
Benutzerbild von Sebastian

Prototype: String.dateToTimestamp [Flash 8]Wandelt ein Datum-String in Timestamp um String.prototype.dateToTimestamp = function(lang) { var temp_str = this.split("."), temp_str_2 = temp_str.split(":"); return new Date(int(temp_str_2)).getTime(); } // Optional "en" Angabe für englisc [...]
Benutzerbild von Sebastian

Prototype: Array.rand [Flash 8]Liefert einen oder mehrere zufällige Einträge eines Arrays Array.prototype.rand = function(nr,i,temp_ary,temp_ary_2) { if(temp_ary.length == undefined) { var i = 0, temp_ary = ; for(var j in this) temp_ary_2.push(this); } i++; if(i< [...]
Benutzerbild von Sebastian

Prototype: Array.shuffle [Flash 8]Array in zufälliger Reihenfolge sortieren // ## Ohne Typ Umwandlung: ############################ function rand() { return random(3)-1; } Array.prototype.shuffle = function() { return this.sort(rand); } ASSetPropFlags(Array.prototy [...]
Benutzerbild von Sebastian

Prototype: delete_all [Flash 8]Mehrere Variablen auf einmal löschen // FH delete_all // // Copyright (C) 2003 Sebastian Wichmann :: sebastian at flashhilfe.de // This Software is distributed under the GNU General Public License. // // http://www.flashhilfe.de _ [...]
Benutzerbild von max0matic

Prototype: XMLSA 1.4 [Flash 8]
29.06.2003 - 0 Kommentare - Forum, Tipps & Tricks zu Flash, Flex und Adobe AIR - max0matic
Schlagwörter: prototype, xml
XML Simple Array hilft auf einfache und intutive Weise. /*--------------------------------------------------------------------------- XMLSA for Flash MX v1.4 ----------------------------------------------------------------------------- Created [...]
Benutzerbild von Madokan

Prototype: Button.useHandCursor [Flash 8]
28.06.2003 - 0 Kommentare - Forum, Tipps & Tricks zu Flash, Flex und Adobe AIR - Madokan
Schlagwörter: button, prototype
Sämtliche Cursorwechsel für Schaltflächen werden deaktiviert
Benutzerbild von Sebastian

Prototype: Array_unique(); [Flash 8]Entfernt doppelte Werte aus einem Array // FH Array_unique // // Copyright (C) 2003 Sebastian Wichmann :: sebastian at flashhilfe.de // This Software is distributed under the GNU General Public License. // // http://www.flashhilfe.de [...]
 Seite1 2 3 4 5 6
Partner Webseiten: art-and-law.de  Mediengestalter.info   phpwelt.de   Scubacube.de  
Haftungsausschluss   Datenschutzerklärung   Impressum
© 1999-2024 Sebastian Wichmann - Flashhilfe.de