Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

External Embedded Fonts, Dynamic Text Fields, Latest?

LEGEND ,
Oct 18, 2007 Oct 18, 2007
Hi all,

I'm stuck in Flash8 land. Mostly because I use mProjector and MDM Zinc to extend flash projectors and neither support AS3 correctly to date. That said..

Is a Flash8 SWF capable of using fonts embedded in "other" SWFs? I realize this is an ongoing difficulty and a well known area of confusion and well, I'm confused. All the attempts I've made so far in linking have succeeded or failed in various ways, but never fully work.

What I'd love to do is use dynamic text fields populated by data from a database (or XML file), with CSS styling, using fonts that are embedded in a 'master font SWF'. (and I'd like ice cream with that too!)

I import fonts into, say, 'shared.fla'. I set them all up for exporting via linkage (to shared.swf). I open up my other FLAs (say, main.fla) and I drag the fonts from the shared.fla library into main.fla's library. In looking at the linkage, I see it properly set it to Import for Runtime Sharing (shared.swf). I can see the font available in the main.fla font list and can select it and use it just fine. I have to set the dynamic text field to embed fonts to actually see them (and also myTextField.setStyle("embedFonts",true)).

Now all that works well and fine, but the kicker is when I want CSS to style my text. If I specify a embedded font linkage identifyer in CSS, the text disappears. i.e. I load 'style.css' and I have h1 { font-family: someEmbeddedFont; }, the <h1> text will now disappear.

Any clues in how I can specify a font to use in CSS that's embedded so it'll work, WITHOUT This font needed to be embedded in the actual library (as in, not a linked asset)? Because it works fine if I embed the font into every single SWF. But when I try to use it as a shared asset, this doesn't work.

Any ideas on how someone can achieve this?

This is so I can changed my shared.swf and supply all new fonts with the same linkage identifiers and change the font in a whole project without re-exporting any other SWFs.

Thanks for any info!
TOPICS
ActionScript
3.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Oct 31, 2007 Oct 31, 2007
I was more or less asking if you could create 2 new documents and just slap in the font and settings as an example file for all of us looking to share some font assets properly.

I'd be happy to host a ZIP containing the example files on my server and you can put a .txt file in with credits to you and/or your company.

re-edit:

I mostly want your solution because sharedfonts.com's solution (which by the way, does work) is actually being exported as Flash 6, AS1. Also your method only requires...
Translate
LEGEND ,
Nov 01, 2007 Nov 01, 2007
It only makes perfect sense to give step by step instructions when you're talking about a process or when technical detail is involved. If you're going to tell me how to peel an apple then you can say something simple like grab a peeler or a knife and just skim the outside and it'll work. But a problem where a couple dozen settings across a multi-document concept need to be correct, obviously it requires outlining all the settings.

Happy to help you understand how to help. Consult the URL I just posted and you'll see in-depth instructions with source files provided.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 01, 2007 Nov 01, 2007
LATEST
i didn't respond to your first few posts because i wasn't going to be spoon-feeding you. and that's what i felt you needed based on your first posts.

but with your fourth post you asked only if something could be done. not how to do it. and to that i responded telling you yes, it could be done and i further informed you that i wasn't going to be explaining the process to you and i stated why i wasn't going to explaining the process to you and i suggested you look elsewhere for a tutorial.

and you did find a tutorial and that solved your problem. so, it seems to me you should be saying thanks and leave it at that. even though my suggestion to look elsewhere was not a big help, you sure weren't getting anywhere in this forum before that suggestion and it's doubtful you would get anywhere in any other forum.

now, it may make perfect sense to you that you needed a step-by-step tutorial to figure this out, but it's not my job to supply that step-by-step tutorial. and it's not my job to help you in this forum. i'm not being paid to help you and i'm not being paid to help anyone else in this forum.

therefore, your attitude that i owe you something is inappropriate. i owe you nothing but courtesy which you failed to return to me. so, you can be sure i'll never knowingly respond to any of your posts in the future.

happy to help you understand how to avoid acting like an ass.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines