|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I've been working for days, trying to come up with some solution to this. It's not a necessary feature for my upcoming website, but it would be nice because of the older age folks who might have trouble seeing some of the text. I've tried this:
on (press) { myTextFormat = new TextFormat(); myTextFormat.size = 14; scroller.setTextFormat(myTextFormat); } No luck with it, as it seems to have no effect on dynamic textfields within buttons. I've also tried: on (press) { dropdownmov.var4 = "<font face=\"Arial\" size=\"12\"> var4 </font>"; } This changes the button text size, but unfortunately it takes the var4 variable and just uses its name instead of using the text that the variable actually holds. I don't know, it'd be cool if someone had some new ideas or whatever because I'm at the end of my rope on this one. |
|
#2
|
||||
|
||||
|
it makes sense that
Code:
dropdownmov.var4 = "<font face=\"Arial\" size=\"12\"> var4 </font>"; Code:
dropdownmov.var4 = "<font face=\"Arial\" size=\"12\">"+var4+"</font>"; Another thought: on the first part, where you have: scroller.setTextFormat(myTextFormat); wouldn't you need to reference the text field inside the button, so you would need: buttonname.scroller.setTextFormat(myTextFormat); ? Last edited by blatant : July 16th, 2003 at 11:18 AM. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Allowing users to change menu button text size... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|