Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 07-02-2006, 13:58   #1 (permalink)
... loves Japan!
 
Benutzerbild von compuboy1010
 
Registriert seit: Apr 2005
Ort: D'dorf; DE
Beiträge: 715
Sylesheet wird nicht angenommen

Meine TextArea zeigt keinerlei Veränderung, wenn ich am Stylesheet etwas verändere. Sieht jemand den Grund?

ActionScript:
  1. function displayDescription():Void {
  2.     var naStyle:TextField.StyleSheet = new TextField.StyleSheet();
  3.     naStyle.setStyle("html", {fontFamily:"Verdana, sans-serif", fontSize:"10px", color:"#000000"});
  4.     naStyle.setStyle("body", {color:"#000000"});
  5.     this.mcSection.removeMovieClip();
  6.     this.createEmptyMovieClip("mcSection", getNextHighestDepth());
  7.     this.onEnterFrame = function():Void  {
  8.         delete this.onEnterFrame;
  9.         this.mcSection.moveTo(0, 0);
  10.         this.mcSection.attachMovie("productSlideshow", "mcProductSlideshow", this.mcSection.getNextHighestDepth(), {_x:0, _y:50});
  11.         this.mcSection.createClassObject(TextArea, "descr_ta", this.mcSection.getNextHighestDepth());
  12.         this.mcSection.descr_ta.styleSheet = naStyle;
  13.         this.mcSection.descr_ta.html = true;
  14.         this.mcSection.descr_ta.editable = false;
  15.         this.mcSection.descr_ta.move(160, 75);
  16.         this.mcSection.descr_ta.setSize(200, 200);
  17.         this.mcSection.descr_ta.wordWrap = true;
  18.         this.mcSection.descr_ta.text = _global.sDescription;
  19.         this.mcSection.descr_ta.hScrollPolicy = "off";
  20.         this.mcSection.descr_ta.redraw();
  21.     };
  22. }

Geändert von compuboy1010 (07-02-2006 um 14:07 Uhr)
compuboy1010 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 09:11 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele