| |||||||
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: Feb 2006
Beiträge: 20
| Flash MX Blasen Animation !
Hi Leute dies ist ein Script für fliegende Blasen, klapt auch super geil, nur ich bekomme es einfach nicht hin, das die Blasen nicht von links nach rechts fliegen sondern von rechts nach links ! kann mir da wer schnell helfen, ich hab keine Ahnung von dem Script ... vielen Dank !!! Code: MovieClip.prototype.schnee = function(pObj, pAnzahl, pBreite, pHoehe) {
for (var i = 0; i<=pAnzahl; i++) {
this.attachMovie(pObj, "flocke"+i, i);
this["flocke"+i]._x = Math.round(Math.random()*pBreite);
this["flocke"+i]._y = Math.round(Math.random()*pHoehe);
this["flocke"+i].faktor = ((this["flocke"+i]._alpha=Math.random()*100));
this["flocke"+i]._height = (this["flocke"+i]._width=500/this["flocke"+i].faktor);
this["flocke"+i].zufall = 1+(Math.random()*5);
this["flocke"+i].onEnterFrame = function() {
this.kante = pBreite+this._width;
this.spos = -this._width;
this.xpos = this._x;
this.tempo += this.zufall;
this.rad = (this.tempo/180)*Math.PI;
if (this.rad>Math.PI*2) {
this.rad = this.rad-Math.PI*2;
}
if (this.xpos<this.kante) {
this._x = this._x+this.zufall;
this._y = this._y+Math.cos(this.rad);
} else {
this._x = this.spos;
}
};
}
};
schnee("fClip", 100, Stage.width, Stage.height); Download |
| | |
| | #2 (permalink) |
| °.oO°O.o°.oO.o°O Registriert seit: Jun 2005 Ort: CH
Beiträge: 1.490
|
Diese Zeilen musst du anpassen (und evtl. die dazugehörenden Werte (pBreite, etc.)): PHP-Code:
__________________ There is no way to happiness, happiness is the way! - Buddha |
| | |
| | #4 (permalink) |
| brand new user Registriert seit: May 2002 Ort: Laimbach 6 1/2
Beiträge: 16.884
|
Servus!! PHP-Code:
__________________ Bitte keine Fragen, zu Flash per PM. Dazu ist das Forum da. Danke MFG_RustyCake! "Wer tanzen will, muß erst gehen lernen" |
| | |
| | #5 (permalink) |
| tracer Registriert seit: Jun 2004
Beiträge: 4.415
|
[ot-sorry] wusste gar nicht, dass es "schneeblasen" gibt.... open mindend-yeah! [/ot-sorry]
__________________ Viola per Sempre Alle Angaben ohne Gewehr! trace your open mind in variables ! andretti ActionScript Dictionary |
| | |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
| |