Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 26-07-2004, 21:06   #1 (permalink)
Neuer User
 
Registriert seit: Jun 2004
Ort: berlin
Beiträge: 23
Problem mit Matrix in GradientFill :(

Kann jemand mir bitte erklären über matrix in GradientFill.
Ich habe Code:

Code:
_root.createEmptyMovieClip( "verlauf", 1 );
  with ( _root.verlauf )

  {

  colors = [ 0xFF0000, 0x0000FF ];
  alphas = [ 100, 100 ];
  ratios = [ 0, 0xFF ];
matrix = { a:200, b:0, c:0, d:0, e:200, f:0, g:200, h:200, i:1 };  
  beginGradientFill( "linear", colors, alphas, ratios, matrix );
  moveTo(100,100);
  lineTo(100,300);
  lineTo(300.300);
  lineTo(300.100);
  lineTo(100,100);
  endFill();

  }
Was bedeutet hier a:200, b:0, c, e, f, g, h, i
Und wie kann ich a, b, c, d ... bestimmen??

Thank you
bibibobo
__________________
Happy Flashing
bibibobo ist offline   Mit Zitat antworten
Alt 26-07-2004, 21:54   #2 (permalink)
Flashaholic
 
Benutzerbild von atothek
 
Registriert seit: Feb 2003
Ort: Berlin
Beiträge: 1.459
wenn ich diese function nutze nehme ich immer diese schreibweise

ActionScript:
  1. matrix = { matrixType:"box", x:100, y:100, w:200, h:200, r:(45/180)*Math.PI };

sie ist einfach verständlicher
__________________
TVNEXT Solutions
atothek 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 04:33 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele