all groups > flash (macromedia) > june 2004 >
You're in the

flash (macromedia)

group:

scrollpane component and embedding fonts, flash mx


scrollpane component and embedding fonts, flash mx bigflannel
6/10/2004 10:55:46 PM
flash (macromedia):
I have a swf (template.swf) that loads another swf (family.scroll.01.swf) into
a movie clip on level 0 (scrollerloadmc).

The loaded swf (family.scroll.01.swf) has a scrollpane in it. Items are added
to the scrollpane from an array defined in the swf using actionscript addItem.

Everything works well, my swf with the scrollpane loads into the main swf and
displays correctly. I have used fstyleFormat to set the properties of the
scrollpane. One of these properties is: myStyleFormat.textFont =
"BetaSemi-Norm";

This works if the font is installed on the machine that views the site.

I am trying now to embed this font so everyone can see it the same way in
either movie and am not succeeding. I have tried adding the font to the library
and have then set its linkage properties to export for actionscript and export
in first frame. This does not seem to work. I assume I should be using some
actionscript to tell flash to look for an embedded font but cannot find
anything out to help me. I am stuck.

Many thanks for any suggestions.

I am using Flash MX, mac osx 10.3.4 and BetaSemi-Norm is a postscript font.
Re: scrollpane component and embedding fonts, flash mx bigflannel
6/11/2004 3:34:52 PM
I found this link to be useful for embedding fonts in a scrollpane where there are no dynamic text boxes within it

http://www.actionscript.org/forums/showthread.php3?p=66577

Regards
AddThis Social Bookmark Button