Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 19-01-2006, 13:13   #1 (permalink)
... loves Japan!
 
Benutzerbild von compuboy1010
 
Registriert seit: Apr 2005
Ort: D'dorf; DE
Beiträge: 715
TextField Font zuweisen.

Ich finde einfach nicht die Eigenschaft, mit der ich einem TextField einen Font(verdana) verpassen kann:

ActionScript:
  1. this.mcSection.createTextField("tDescription", mcSection.getNextHighestDepth(), 160, 60, 200, 250);
  2. this.mcSection.tDescription.multiline = true;
  3. this.mcSection.tDescription.html = true;

Was müsste man hinzufügen?

Geändert von compuboy1010 (19-01-2006 um 13:15 Uhr)
compuboy1010 ist offline   Mit Zitat antworten
Alt 19-01-2006, 13:15   #2 (permalink)
Neuer User
 
Registriert seit: Jan 2006
Beiträge: 11
font = "Verdana";

edit: zumindest im MX 04....

Geändert von StoupaIs (19-01-2006 um 13:32 Uhr)
StoupaIs ist offline   Mit Zitat antworten
Alt 23-01-2006, 09:59   #3 (permalink)
... loves Japan!
 
Benutzerbild von compuboy1010
 
Registriert seit: Apr 2005
Ort: D'dorf; DE
Beiträge: 715
Geht leider nicht in Flash 8.
compuboy1010 ist offline   Mit Zitat antworten
Alt 23-01-2006, 10:14   #4 (permalink)
... loves Japan!
 
Benutzerbild von compuboy1010
 
Registriert seit: Apr 2005
Ort: D'dorf; DE
Beiträge: 715
Es klappt nicht. Auch nicht mit einem Text Format Objekt. Habe ich etwas übersehen?

ActionScript:
  1. function displayDescription():Void {
  2.     var fmtDentona:TextFormat = new TextFormat();
  3.     fmtDentona.font = "Verdana";
  4.  
  5.     this.mcSection.removeMovieClip();
  6.     this.createEmptyMovieClip("mcSection", getNextHighestDepth());
  7.     this.mcSection.moveTo(0, 0);
  8.     this.mcSection.attachMovie("productSlideshow", "mcProductSlideshow", mcSection.getNextHighestDepth(), {_x:0, _y:50});
  9.     this.mcSection.createTextField("tDescription", mcSection.getNextHighestDepth(), 160, 60, 200, 250);
  10.     this.mcSection.tDescription.multiline = true;
  11.     this.mcSection.tDescription.html = true;
  12.     this.mcSection.tDescription.wordWrap = true;
  13.     this.mcSection.tDescription.htmlText = "";
  14.     this.mcSection.tDescription.setTextFormat(fmtDentona);
  15.     this.mcSection.tDescription.htmlText = _global.sDescription;
  16. }
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 10:26 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele