|
|
|
#1 | |
|
Senior Member
Join Date: Sep 2005
Location: Detroit
Posts: 193
|
I have no idea what is going on here. Any one else having similar issues?
Code:
Embed(source="/Library/fonts/SwissBTExtCom.ttf", fontName="Swiss 911", mimeType="application/x-font-truetype")] Quote:
__________________
While the music played you worked by candlelight Those san francisco nights You were the best in town Just by chance you crossed the diamond with the pearl You turned it on the world That’s when you turned the world around |
|
|
|
|
|
|
#2 |
|
Mod
Join Date: Mar 2002
Location: press the picture...
Posts: 12,744
|
Just for clarification, do you have the line between <mx:Script> tags?
Have you tried this: source="SwissBTExtCom.ttf"?
__________________
![]() - The right of the People to create Flash movies shall not be infringed. - | www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | The new Event design pattern | Clothing for Haiti | |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Sep 2005
Location: Detroit
Posts: 193
|
Thanks for the response CancerInform, This is actually just outside a class in a class/Package file. The class is being called from inside the mx:script tags.
I did put the font in the local directory and no luck there either. (FYI: it needs to be source="/SwissBTExtCom.ttf", for some reason). I am really stuck here. Any other suggestions?
__________________
While the music played you worked by candlelight Those san francisco nights You were the best in town Just by chance you crossed the diamond with the pearl You turned it on the world That’s when you turned the world around |
|
|
|
|
|
#4 |
|
Mod
Join Date: Mar 2002
Location: press the picture...
Posts: 12,744
|
You can try this and create a style script:
PHP Code:
__________________
![]() - The right of the People to create Flash movies shall not be infringed. - | www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | The new Event design pattern | Clothing for Haiti | |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Sep 2005
Location: Detroit
Posts: 193
|
Thanks for the help CancerInform. That method did work but I needed to use TextFormat instead of HTML or css text.
I finally figured out what was going on. For each font you need to create a private class under to load. So for my example above: Code:
[Embed(source="/SwissBTExtCom.ttf", fontFamily="Swiss911", mimeType="application/x-font-truetype")] private var Swiss911:Class; Hope no one else wastes their time on this. Don't forget t(:TextField).embedFonts = true;
__________________
While the music played you worked by candlelight Those san francisco nights You were the best in town Just by chance you crossed the diamond with the pearl You turned it on the world That’s when you turned the world around |
|
|
|
|
|
#6 |
|
Mod
Join Date: Mar 2002
Location: press the picture...
Posts: 12,744
|
I knew that but I thought you had done that, because the rest of your script was correct.
__________________
![]() - The right of the People to create Flash movies shall not be infringed. - | www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | The new Event design pattern | Clothing for Haiti | |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Sep 2005
Location: Detroit
Posts: 193
|
You would have thought. But hey thanks for the help. Problem solved now.
__________________
While the music played you worked by candlelight Those san francisco nights You were the best in town Just by chance you crossed the diamond with the pearl You turned it on the world That’s when you turned the world around |
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|