Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3219896
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:41:57+00:00 2026-05-17T15:41:57+00:00

I am working on a as3 project in which the user select a font

  • 0

I am working on a as3 project in which the user select a font from Combo Box and that font SWF should be loaded Dynamically and then i need to change the font of the Dynamic text field.

I have swf font files downloaded from http://www.isarie.com

My question is that how can i load the font swf dynamically from server and add them to the library and how can i use that swf to change the font of dynamic text field.

if there are embedded fonts in library then i can access them using this-

var fontList:Array = Font.enumerateFonts();
for( var i:int=0; i<fontList.length; i++ ){
    trace( "font: " + fontList[ i ].fontName );
} 

But How to use dynamically loaded Font swf as a font type.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:41:57+00:00Added an answer on May 17, 2026 at 3:41 pm

    If you know font class name, so:

     var fontClass:Class = swfLoader.contentLoaderInfo.applicationDomain.getDefinition("FontClassName") as Class;
        Font.registerFont(fontClass);
    

    otherwise you can use FontLoader class by Denis Kolyako, you can get it here: http://etcs.ru/pre/FontLoaderDemo/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a working AS3 project and it compiles fine to a SWF. I
I am Working on a cs5 as3 project and in that project i have
Working on a project that parses a log of events, and then updates a
I'm working on a large-size dual AS3/Flex project (some parts are pure AS3, other
Working on a project in AS3 I require to stream a few files for
I'm working on this Flash project done with AS3 and for some reason the
For a project I'm working on, it's necessary that I am able to play
All, I'm working on a Flash AS2 project in which I have a choice
I have been working on Flash AS3 project. I am designing a 3D system.
I have a content scroller in my Flash CS5/AS3 project that I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.