Thema: Movieclip
Beiträge zum Thema "Movieclip"
| Prototype: Movieclip.Schnee [Flash 8]Schnee-Effekt
MovieClip.prototype.schnee = function(pObj,pAnzahl, pBreite, pHoehe) {
for (var i = 0; i<=pAnzahl; i++) {
this.attachMovie(pObj, "flocke"+i, i);
this.skal = 50+(Math.random()*100);
this.alpha = 20+(Math.random()*50);
thi [...]
|
| Prototype: MovieClip.setMatrix [Flash 8]Feldmatrix Effekt Prototype
MovieClip.prototype.setMatrix = function (pClip, pReihen, pSpalte, pDim, pDist, pFarbe, pAlpha, pAbstand, pMax, pMin, pMult, pFraktion) {
var tiefe;
for (var i = 0; i<pReihen; i++) {
for (var j = 0; j<pSpalte; j++ [...]
|
| Prototype: attachAbove / attachUnder [Flash 8]Tiefenmanagement der einfachen Art
/*
*
* COPYRIGHT MAX KLATTE, NUR FÜR NICHT KOMMERZIELLE NUTZUNG! (ansonten rücksprache);
*
* Diese Funtkion erleichtert ein "Tiefenmanegment" ohne den gebrauch von leveln.
* So wird auch Beispielsweise das [...]
|
| Prototype: MovieClip.onDoubleClick [Flash 8]Event Handler - Doppelklick
MovieClip.prototype.addProperty("onDoubleClick",function() {
return this.$onDoubleClick;
},function(f) {
this.__proto__ = DoubleClick.prototype;
this.$onDoubleClick = f;
ASSetPropFlags(this,,1,true);
}); [...]
|
| Prototype: Movieclip.simpleCircle [Flash 8]Einfacher Kreis mit lineTo()
// Der Trick funtzt prima das lineTo() zu missbrauchen.
// Die Untergrenze für die Verschiebung liegt bei
// 0.14999999999999999.
MovieClip.prototype.simpleCircle = function(pobj, ptiefe, pX, pY, pDicke, pFarbe, pDe [...]
|
| Prototype: transform [Flash 8]Eventgesteuerte Animation
MovieClip.prototype.transform = function( $tobj , $ref) {
//lokal ablegen
this.$tobj = $tobj;
this.$ref = $ref;
//transformieren
this.onEnterFrame = function() {
var count = 0;
for (var prop in this.$tobj) [...]
|
| Prototype: Movieclip.totalAction [Flash 8]Sämtliche MovieClips auf einmal Steuern
Movieclip.prototype.totalAction = function(op,val) {
this(val);
for (var i in this) {
if (typeof (this) == "movieclip") {
this.totalAction(op,val);
}
}
};
// Verwenden
this.totalAction [...]
| |
Flashhilfe.de Flash Platform Tipps & Tutorials Flash Platform Andere Programmiersprachen Jobangebote Diskussionen
Flashhilfe News
Regeln & Bedingungen
|