PDA

Volledige versie bekijken : Kleur geven aan je textveld en schalen


firemarshallbill
%Europe/Berlin %615 %2006, 15:46
Weet iemand hoe je een kleur geeft aan je textveld en daar bedoel ik dus niet de tekst zelf mee maar het hele veld. Heb ik daar een script voor nodig of kun je dat simpelweg instellen in flash? Ik heb het nog niet kunnen vinden in ieder geval. En is het ook mogelijk wanneer je text extern inlaad dat het textveld meeschaalt afhankelijk van de lengte van je zin?

Alvast bedankt!

eagle
%Europe/Berlin %718 %2006, 18:14
Ik typ "backgroundcolor" in in Flash Help, en tadaaaaa:

background (TextField.background property)
public background : Boolean

Specifies if the text field has a background fill. If true, the text field has a background fill. If false, the text field has no background fill.


backgroundColor (TextField.backgroundColor property)
public backgroundColor : Number

The color of the text field background. Default is 0xFFFFFF (white). This property may be retrieved or set, even if there currently is no background, but the color is only visible if the text field has a border.

renegeuze
%Europe/Berlin %731 %2006, 18:32
EN voor het meeschalen tik je autoSize in :)

M0L
%Europe/Berlin %740 %2006, 18:46
We love The flash help files [:o)]