Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

Changing text size of radio button label

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gandalf458 - 09 Jul 2008 07:31 GMT
Is it possible to change the size of the text of the label of a radio button component? I'm trying to create a questionnaire for youngsters and need much larger text... Thanks.
rritchey - 09 Jul 2008 17:29 GMT
Actionscript 3:

var _textFormat:TextFormat = new TextFormat();
_textFormat.font = "Arial";
_textFormat.size = 15;

myRadioButton.setStyle("textFormat",_textFormat);

Actionscript 2:

myRadioButton.setStyle("fontSize",15);
gandalf458 - 09 Jul 2008 17:41 GMT
Many thanks. Yeah, sorry I forgot to mention the version. I think I prefer Actioscript 2 ! :)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.