Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 31-10-2004, 00:56   #1 (permalink)
Neuer User
 
Registriert seit: Sep 2003
Beiträge: 43
gradientFill funktioniert nicht

Hallo,

ich habe ein Problem und zwar funktioniert meine Funktion nicht, ich weiss nicht warum aber da erscheint nichts auf der Bildfläche , alle Vars sind gesetzt und aufruf findet statt:

ActionScript:
  1. private function draw3d()
  2.     {
  3.         var _path = this;
  4.         var threeDee_mc = this.createEmptyMovieClip(this._identity+"_3d",101);
  5.             threeDee_mc._x = -1;
  6.             threeDee_mc._y = 1;
  7.        
  8.         with(threeDee_mc)
  9.         {
  10.             var colors = [6710886, 6710886, 16777215, 16777215];
  11.         var alphas = [0, 100, 100, 100];
  12.           var ratios = [0, 150, 255, 255];
  13.           var matrix = { matrixType:"box", x:0, y:0, w:188, h:10, r:1.5707963267949 };
  14.            
  15.             lineStyle(0,0xFFFFFF,100);
  16.           beginGradientFill( "linear", colors, alphas, ratios, matrix );
  17.           moveto(0,0);
  18.         lineto(_path._boxWidth,0);
  19.         lineto(_path._boxWidth,10);
  20.         lineto(0,10);
  21.         lineto(0,0);
  22.           endFill();
  23.  
  24.         }
  25.     }

Ich habe auch schon das example ausprobiert aber da erscheint auch nichts
Chlorwasser ist offline   Mit Zitat antworten
Alt 31-10-2004, 01:14   #2 (permalink)
.
 
Registriert seit: May 2003
Ort: bayern
Beiträge: 1.117
ActionScript:
  1. moveTo(0,0);
  2. lineTo....

mx 2004 ist da kleinlich...
__________________
[mooseMash]
mooseMash ist offline   Mit Zitat antworten
Alt 31-10-2004, 02:58   #3 (permalink)
Neuer User
 
Registriert seit: Sep 2003
Beiträge: 43
OMG! wie kann ich nur so... argghhhhh!!!!!

tut mir leid für diesen sinnlos post
Chlorwasser 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 17:17 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele