Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-11-2010, 03:41 PM   #1
McNab
Registered User
 
Join Date: Feb 2010
Posts: 11
Question [AS2] ComboBox: Dropdown showing different Fonts?

Hi!

I would like to create a ComboBox to select a font for a TextBox. So far so easy. However I would like the Dropdown List to show the different fonts as such, i.e. dropdown list showing 'Arial', 'Times' in their respective fonts!

ActionScript Code:
var besch_font_cb:ComboBox; besch_font_cb.dataProvider = TextField.getFontList().sort();

is this possible?

Similar to this:

http://blog.flexexamples.com/2008/07...ntrol-in-flex/

Help is appreciated!
McNab is offline   Reply With Quote
Old 04-06-2010, 04:24 PM   #2
McNab
Registered User
 
Join Date: Feb 2010
Posts: 11
Thumbs up SOLVED BY Arulprasad :)

see his POST

http://www.actionscript.org/forums/s...ighlight=fonts

Thanks loads...

McNab is offline   Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:35 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.