Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-26-2016, 07:50 AM   #1
Registered User
Join Date: May 2016
Posts: 1
Default Adding Text Font to Library as Embedded font

Hi there

I am using CS6 and would like to use JSFL to embed the fonts of all the text fields in an FLA document.

I can iterate through the text fields and I can set the embeddedCharacters and embeddedRanges properties but this does not add the Font to the library which is the result I want. (I can only achieve that by using IDE.)

I have read that the embedding needs to be done on the FontItem object but JSFL documentation says a new Font Item cannot be added to the library.

So how to use JSFL embed the font used by a text field and add it to the library?

Any help very much appreciated
billmclaughlin is offline   Reply With Quote

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 04:32 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Adding Text Font to Library  as Embedded fontAdding Text Font to Library  as Embedded font
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.