When loading an swf library with bitmaps and vector stuff, the only
place where you can attach those assets is in the movieclip where you
loaded the swf in.. unfortunally.. :(

I have looked into this for some time, doing some research, but
haven't found a working way for shared assets besides fonts to be
usable everywhere.

Back on fonts:
In our projects, we use Bernard's solution for the fonts (not so
weird, because he's my collegue) for most control over which
characters are to be embedded etc. Which is a must when doing
multi-language sites (like this one we made:
http://www.masdesdames.fr/ ).
Together with stylesheets it can be really simple. We use font-family
terms like MainFont, or BoldFont, and when letting the FontLoader
parse the stylesheet, it replaces them with the actuall font name
loaded linked with that identifier...
So with just replacing the font libs, the entire site will have new fonts :).

@erixtekila
In Bernard's solution, you use 2 seperate files, not one linking to
itself. Well, at least the version I'm using.. :)

--
Joeri

On 5/31/06, erixtekila <[EMAIL PROTECTED]> wrote:
> With bitmaps you could use the bitmapdata to draw it in another movie.
Yes, but Flash 8 only.
Beautiful solution anyhow…

-----------
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

_______________________________________________
[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

Reply via email to