Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 05-05-2004, 19:38   #1 (permalink)
Neuer User
 
Registriert seit: Oct 2003
Beiträge: 52
linien hintereinander zeichnen

hallo,
habe mir in AS eine halbtransparentes viereck gezeichnet und möchte nun ein zweites viereck dahinter haben, damit das ganze etwas tiefe bekommt. wie sagt man das in AS? hat das was mit den levels zu tun?
thanx u777
Angehängte Dateien
Dateityp: zip desktop.zip (2,2 KB, 5x aufgerufen)

Geändert von user777 (05-05-2004 um 20:27 Uhr)
user777 ist offline   Mit Zitat antworten
Alt 05-05-2004, 21:19   #2 (permalink)
Neuer User
 
Registriert seit: Apr 2003
Ort: USA
Beiträge: 130
ActionScript:
  1. _root.createEmptyMovieClip("box",10);
  2. _root.box.lineStyle(1,0xff00ff);
  3. _root.box.beginFill(0x000000,100);
  4. _root.box.moveTo(150,20);
  5. _root.box.lineTo(150,200);
  6. _root.box.lineTo(350,275);
  7. _root.box.lineTo(350,30);
  8. _root.box.lineTo(150,20);
  9. _root.createEmptyMovieClip("box2",-8);
  10. _root.box2.lineStyle(1,0xffffff,70);
  11. _root.box2.beginFill(0xffffff,40);
  12. _root.box2.moveTo(155,25);
  13. _root.box2.lineTo(155,205);
  14. _root.box2.lineTo(355,280);
  15. _root.box2.lineTo(355,35);
  16. _root.box2.lineTo(155,25);
  17.  
  18. _root.box2.onPress = function(){
  19.     this.startDrag()
  20. }
  21. _root.box2.onRelease = function(){
  22.     this.stopDrag()
  23. }
osoful 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 19:35 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele