Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 13-06-2005, 08:54   #1 (permalink)
new Benutzer
 
Registriert seit: Mar 2003
Ort: Hamburg
Beiträge: 256
zweites textfeld Inhalt nicht sichtbar

Hallo Forum,

ich erstelle per script zwei dynamische Textfelder...
Wenn ich das erste erstelle, dann sehe ich den Inhalt von diesem, sobald ich abeer mein zwewites erstelle sehe ich nur noch den Inhalt von meinem zweiten!

PHP-Code:
mCon_path.createTextField("tTitle"600101, -52300);
    
mCon_path.tTitle.type "dynamic";
    
mCon_path.tTitle._visible true;
    
mCon_path.tTitle.autoSize true;
    
mCon_path.tTitle.multiline true;
    
mCon_path.tTitle.wordWrap true;
    
tfTitle = new TextFormat();
    
tfTitle.bold true;
    
tfTitle.align "left";
    
tfTitle.font "Arial";
    
tfTitle.size 15;
    
tfTitle.color 0x032E72;
    
mCon_path.tTitle.text "Headline Headline He a dl ine He ad line";
    
mCon_path.tTitle.setTextFormat(tfTitle);
    
trace(mCon_path.tTitle._height);
    
    var 
posCatch_y mCon_path.tTitle._height 5;
    
mCon_path.createTextField("tCatch"600102posCatch_y2300);
    
mCon_path.tCatch.type "dynamic";
    
mCon_path.tCatch._visible true;
    
mCon_path.tCatch.autoSize true;
    
mCon_path.tCatch.multiline true;
    
mCon_path.tCatch.wordWrap true;
    
tfCatch = new TextFormat();
    
tfCatch.bold true;
    
tfCatch.align "left";
    
tfCatch.font "_sans";
    
tfCatch.size 10;
    
tfCatch.color 0x032E72;
    
mCon_path.tCatch.text "Catch phrase Catch phrase Catch phrase Catch phrase Catch phrase";
    
mCon_path.tCatch.setTextFormat(tfCatch);
    
trace(mCon_path.tCatch._height); 
Weiß da jemand rat?
Hat jemand eine Idee woran das iegen kann?

ciou
Markus
screamingworld ist offline   Mit Zitat antworten
Alt 13-06-2005, 09:36   #2 (permalink)
Nix Wisser
 
Benutzerbild von nullidee
 
Registriert seit: May 2003
Ort: Würzburg, Kleinstadt
Beiträge: 3.510
Code:
mCon_path.createTextField("tTitle", 600, 101, -5, 230, 0);
mCon_path.createTextField("tCatch", 600, 102, posCatch_y, 230, 0);
meinMovieclip.createTextField(instanzname,tiefe,x, y,breite,hoehe)

du hast beide auf der gleichen Tiefe, dann ist nur das zuletzt erstellte da!
__________________
nullidee

Abakus GT 10² Kugeln - 80"Leinwand - CARAN D´ACHE SUPRACOLOR®
nullidee ist offline   Mit Zitat antworten
Alt 13-06-2005, 09:46   #3 (permalink)
new Benutzer
 
Registriert seit: Mar 2003
Ort: Hamburg
Beiträge: 256
Oh mann,

danke ich bin so ein ******* idiot natürlich ich bin davon ausgegangen das das dritte attribut die tiefe ist...

ok

ciou
Markus
screamingworld ist offline   Mit Zitat antworten
Alt 13-06-2005, 09:48   #4 (permalink)
Nix Wisser
 
Benutzerbild von nullidee
 
Registriert seit: May 2003
Ort: Würzburg, Kleinstadt
Beiträge: 3.510
ich benutz auch immer die Hilfe-Funktion.
__________________
nullidee

Abakus GT 10² Kugeln - 80"Leinwand - CARAN D´ACHE SUPRACOLOR®
nullidee 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 12:22 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele