preloading font problem 2004-03-04 - By Jesse Warden
Back As Branden's article points out, you have to have the font in _level0. To get it included, do 1 one of 2 things:
- right click on it in the library, and choose export in first frame. This will make it exported. However, you don't use attachMovie on fonts. If you like, you can use it in dynamic (or non) text fields, like so. Say you name it "cow". You can then do:
createTextField("my_txt", 0, 0, 0, 200, 200); var _fmt = new TextFormat(); _fmt.font = "cow"; _fmt.embedFonts = true; my_txt.setNewTextFormat(_fmt); my_txt.text = "Sup, I'm using the cow embedded font.";
- however, the above will not allow preloading. Uncheck export in first frame, and place a text field using the font on frame 2 offstage. On frame 3, you can then use it as normal. This assumes nothing else in your movie is using export in first frame, and if MX 2004, your classes are exported on frame 2 or beyond, allowing your preloader to work.
-- --Original Message-- -- From: Michael Kxnig [mailto:denlillekoder@(protected)] Sent: Thursday, March 04, 2004 05:55 AM To: flashnewbie@(protected) Subject: RE: [Flashnewbie] preloading font problem
Thanks for the link, but I am still having som troubles.
I made the fontSymbol in my library. How then, do I pull the font symbol into my main movie? with attachMovie and then attach the whole movie i.e. how do I then import the font?
/M
>From: "Andreas Weber" <webweber@(protected)> >Reply-To: flashnewbie@(protected) >To: <flashnewbie@(protected)> >Subject: RE: [Flashnewbie] preloading font problem >Date: Thu, 4 Mar 2004 10:15:33 +0100 > >Have a look at Branden Hall's 'Shared Fonts Redux': >http://www.waxpraxis.org/archives/000048.html > >-- ---- ------ >Andreas Weber >motiondraw.com > > > > >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >Supported by Fig Leaf Software >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >Lower Prices for Certified Training! Check out new lower prices for >Certified Macromedia Training from Fig Leaf Software. Expand your skill >set with courses in ColdFusion, Flash, Rich Internet Applications and >.NET in the new year. Fig Leaf Software provides the highest caliber >instruction at our training centers in Washington D.C., Atlanta, >Chicago, Baltimore, Northern Virginia, or on-site at your location. > >Get the details at http://training.figleaf.com/ >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- >To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) >For additional commands, e-mail: flashnewbie-help@(protected) > >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ F? alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
|
|