Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-08-2004, 10:54 AM   #1
erika
Registered User
 
Join Date: Jul 2004
Posts: 3
Default embed a font in a listbox component

Does anyone know how to embed a font in a listbox component
erika is offline   Reply With Quote
Old 07-08-2004, 08:05 PM   #2
petefs
Fried Onions
 
petefs's Avatar
 
Join Date: Apr 2004
Location: Chicago, IL
Posts: 1,328
Send a message via AIM to petefs Send a message via MSN to petefs Send a message via Yahoo to petefs
Default

Sorry for the late reply ^_^

something like this:

ActionScript Code:
var o = _global.styles.List = new mx.styles.CSSStyleDeclaration(); o.fontFamily = "myFontSymbol"; o.embedFonts = true;

where myFontSymbol is the linkage identifier of a font symbol that you've created (Library Panel's pulldown thingamajig -> new font).
petefs 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 09:09 PM.

///
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.