- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 5-6 years
- Author was Featured
- Item was Featured
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Interviewed on the Envato Notes blog
- Referred between 200 and 499 users
Im trying to tell a library font to only use a specific set of special characters to cut down the published filesize.
Here is what I did:
1. Added font to library, create actionscript linkage.
2. Created font object and assigned to text format (embedFonts is true)
3. Created a dynamic text field on the stage and selected the library font as the font type.
4. Embedded characters into the textfield.
The font is displayed correctly and special characters work but not just the ones I specified. Flash seems to always embed all characters.
Anything that comes to mind? 
I know that compile-time font embedding with flex is possible but this is not very convenient for activeden buyers 
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Author had a Free File of the Month
- Bought between 1 and 9 items
- Exclusive Author
- Europe
- Has been a member for 3-4 years
- Referred between 10 and 49 users
- Repeatedly Helped protect Envato Marketplaces against copyright violations
If you have dynamic textifield on the stage you just need to embed characters in the properties panel for a font to be embeded.
And you can externally embed just the characters you want with Flash CS4 :
http://www.gotoandlearn.com/ Runtime Font Loading
http://www.adobe.com/devnet/flash/articles/embed_metadata_04.html
- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 5-6 years
- Author was Featured
- Item was Featured
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Interviewed on the Envato Notes blog
- Referred between 200 and 499 users
If you have dynamic textifield on the stage you just need to embed characters in the properties panel for a font to be embeded.And you can externally embed just the characters you want with Flash CS4 :
http://www.gotoandlearn.com/ Runtime Font Loading
http://www.adobe.com/devnet/flash/articles/embed_metadata_04.html
Well, I know about the embed button
Meh… cs4
Won’t upgrade until cs5 comes out.
Guess I’ll find another way then thanks!
cut down the published filesize
Create an external swf , put textifield (embeded font) in a MovieClip ,how many fonts you need … create how many clips , and then load external swf for using it’s library , or if font size is huge …”one font one swf” , just an idea 
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
yeah runtime font loading / embedding is the way to go 
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Author had a Free File of the Month
- Bought between 1 and 9 items
- Exclusive Author
- Europe
- Has been a member for 3-4 years
- Referred between 10 and 49 users
- Repeatedly Helped protect Envato Marketplaces against copyright violations
If you have dynamic textifield on the stage you just need to embed characters in the properties panel for a font to be embeded.And you can externally embed just the characters you want with Flash CS4 :
http://www.gotoandlearn.com/ Runtime Font Loading
http://www.adobe.com/devnet/flash/articles/embed_metadata_04.html
Well, I know about the embed button
Guess I’ll find another way then thanks!Meh… cs4
Won’t upgrade until cs5 comes out.
I know you know about the embed button, but why are you putting font in the library when you have a dynamic textfield on stage?
If you have a dynamic textfiled on stage you embed the font through the properties panel and just the characters you selected will be embeded.
As soon as you put a font in the library flash will embed the whole font.
- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 5-6 years
- Author was Featured
- Item was Featured
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Interviewed on the Envato Notes blog
- Referred between 200 and 499 users
If you have dynamic textifield on the stage you just need to embed characters in the properties panel for a font to be embeded.And you can externally embed just the characters you want with Flash CS4 :
http://www.gotoandlearn.com/ Runtime Font Loading
http://www.adobe.com/devnet/flash/articles/embed_metadata_04.html
Well, I know about the embed button
Guess I’ll find another way then thanks!Meh… cs4
Won’t upgrade until cs5 comes out.
I know you know about the embed button, but why are you putting font in the library when you have a dynamic textfield on stage?
If you have a dynamic textfiled on stage you embed the font through the properties panel and just the characters you selected will be embeded.
As soon as you put a font in the library flash will embed the whole font.
Im using a generated textfield and a library font… But I just noticed that Im simply stupid 
Found a solution… thread can be closed thanks for your help!
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Author had a Free File of the Month
- Bought between 1 and 9 items
- Exclusive Author
- Europe
- Has been a member for 3-4 years
- Referred between 10 and 49 users
- Repeatedly Helped protect Envato Marketplaces against copyright violations
(I thought from your first post that you created dynamic textifled manually on the stage)
offtopic:
just saw last month top sellers list, congrats on overtaking DS 
- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 5-6 years
- Author was Featured
- Item was Featured
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Interviewed on the Envato Notes blog
- Referred between 200 and 499 users
(I thought from your first post that you created dynamic textifled manually on the stage)offtopic:
just saw last month top sellers list, congrats on overtaking DS![]()
Thanks! Well, DS hasn’t uploaded anything big in a while. I guess he is also preparing for the transition to as3.
As2 is still going strong… but Im uploading my first as3 file today which took me 3 weeks to develop
(its quite different than as2)
I always found it really odd that in CS3 Adobe restricted font symbols to just automatically adding the Latin 1 character set. With no option to select character sets like you can with stage textfields. I mean why bother developing the alternate font embedding approach at all if you’re gonna make it unusable for half the dev population that don’t reside in the Eurozone…?
I bet there was a meeting once that went on too long and the committee overruled the voices of reason. Ah how I don’t miss working in a big corporation.
