SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 15th, 2003, 02:16 PM
jimboXL jimboXL is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 1 jimboXL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Allowing users to change menu button text size...

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.

Reply With Quote
  #2  
Old July 16th, 2003, 11:14 AM
blatant's Avatar
blatant blatant is offline
World Domination
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: San Diego
Posts: 126 blatant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 17 sec
Reputation Power: 6
Send a message via AIM to blatant
it makes sense that
Code:
dropdownmov.var4 = "<font face=\"Arial\" size=\"12\"> var4 </font>"; 
would ouput "var4", because it's inside the quotes. Try:
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Allowing users to change menu button text size...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway