Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 08-03-2006, 08:54   #1 (permalink)
Funkologist
 
Benutzerbild von Reanimator
 
Registriert seit: Jan 2004
Ort: Vienna
Beiträge: 139
MC per AS umdrehen

Hey leute,
irgendwie find ich das nirgends, wie kann ich einen mc per as in die andere richtung schaun lassen?
thx,
reanimator
__________________
"Life - loathe it or ignore it, you can't like it"
Reanimator ist offline   Mit Zitat antworten
Alt 08-03-2006, 09:11   #2 (permalink)
Neuer User
 
Benutzerbild von 0711concept
 
Registriert seit: Apr 2003
Beiträge: 52
Probiers mal so...

//AS:
Movieclip.prototype.rotate_mc = function (degrees) {
this._rotation = this._rotation+degrees;
}


//Anwendung auf dem MC:

mc.onEnterFrame = function(){
this.rotate_mc(-30); // rot ccw
}

mc.rotate_mc(280);
__________________
The Worst Day on the Beach is Better than the Best Day at Work.

www.0711concept.de
0711concept ist offline   Mit Zitat antworten
Alt 08-03-2006, 09:12   #3 (permalink)
agedoubleju
Gast
 
Beiträge: n/a
PHP-Code:
meinMC._xscale *= -1
  Mit Zitat antworten
Alt 08-03-2006, 09:21   #4 (permalink)
Funkologist
 
Benutzerbild von Reanimator
 
Registriert seit: Jan 2004
Ort: Vienna
Beiträge: 139
ahh ich dumbass habs mit _width gemacht, so nah und doch so fern ; D thx! superschnell wie imma.
greetz
__________________
"Life - loathe it or ignore it, you can't like it"
Reanimator 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 22:17 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele