Citat:
ideja mi je da menjam sadrzaj teksta tog dugmeta tokom filma
Zar ti nije lakse da koristis
Button komponentu.Mozes da je 'skinujes' do mile volje a i da joj menjas tekst...
Code:
buttonInstanca.label = "Promeni ime";
Skin:
Citat:
falseUpSkin //The up state. The default value is RectBorder.
falseDownSkin //The pressed state. The default value is RectBorder.
falseOverSkin //The over state. The default value is RectBorder.
falseDisabledSkin //The disabled state. The default value is RectBorder.
trueUpSkin //The toggled state. The default value is RectBorder.
trueDownSkin //The pressed-toggled state. The default value is RectBorder.
trueOverSkin //The over-toggled state. The default value is RectBorder.
trueDisabledSkin //The disabled-toggled state. The default value is RectBorder.
falseUpIcon //The icon up state. The default value is undefined.
falseDownIcon //The icon pressed state. The default value is undefined.
falseOverIcon //The icon over state. The default value is undefined.
falseDisabledIcon //The icon disabled state. The default value is undefined.
trueUpIcon //The icon toggled state. The default value is undefined.
trueOverIcon //The icon over-toggled state. The default value is undefined.
trueDownIcon //The icon pressed-toggled state. The default value is undefined.
trueDisabledIcon //The icon disabled-toggled state. The default value is undefined.
Plus stilovi:
Citat:
themeColor //The background of a component. Possible values are "haloGreen", "haloBlue", and "haloOrange".
color //The text of a component label.
disabledColor //The disabled color for text.
fontFamily //The font name for text.
fontSize //The point size for the font.
fontStyle //The font style: either "normal", or "italic".
fontWeight //The font weight: either "normal", or "bold".