The workaround would be to create a swf with SWFMill so you can
specify all
glyps or use textfields then you can specify them yourself, but then
you'll
have to have two swf's.
One for runtime export and one for runtime import, that's the case.
actually, you can, SWFmill and more:
http://www.v-i-a.net/blog/archives/000043.html
http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid-
example-the-last-stand/#more-42
I'll try to take time to translate my article soon.
BTW, Mike's one is pretty good also.
There is no revolution in this, just a trick.
I think that since multi-tiers shared libraries was available (Flash 6,
I presume), we were able to use a single swf that contains shared font
glyphs.
Only R&D permitted to find the way.
So kuddos to the pionneers : lv and zarate.
Let's sum up a little :
There are two solutions that use the same trick.
The trick is to create a swf that referenced itself has a shared lib
(importing AND exporting its own assets)
After, you need to be sure to load that swf and wait for a frame in
order to be able to use the glyphs.
Unfortunatly, it seems that Flash 8 ide doesn't accept to link a swf to
itself anymore.
swfmill is really a good tool to do whatever you want (good swf
knowledge needed)
Last thing to note.
In order to use shared fonts compiled for swf8, be sure to use the last
snapshot of swfmill (unreleased til now) :
http://iterative.org/swfmill/pre/
To end the discussion, I wasn't able to use the same trick for other
types of assets (bitmap or vectors).
If any pionneers feels the need to investigate further…
-----------
erixtekila
http://blog.v-i-a.net/
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com