sobaka11
08-14-2006, 10:09 AM
Hi!
I'm trying now to convert font.tff into font.swf in Flash. I follow instructions in - Creating Flash 8 files with embedded FlashType fonts- http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000795.html tutorial. I've made 4 dynamic textfields with augustus.ttf font, embed letters in them(lowercase, punctuation), then exported into augustus.swf file. My code:
<mx:Style>
@font-face {
src:url("augustus.swf");---here is the error
fontWeight:normal;
fontFamily: myFont;
}
.myStyle1 {
fontFamily:"myFont";
fontSize:12pt
}
</mx:Style>
But the error is: font 'myFont' with normal weight and regular style not found
I'm trying now to convert font.tff into font.swf in Flash. I follow instructions in - Creating Flash 8 files with embedded FlashType fonts- http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000795.html tutorial. I've made 4 dynamic textfields with augustus.ttf font, embed letters in them(lowercase, punctuation), then exported into augustus.swf file. My code:
<mx:Style>
@font-face {
src:url("augustus.swf");---here is the error
fontWeight:normal;
fontFamily: myFont;
}
.myStyle1 {
fontFamily:"myFont";
fontSize:12pt
}
</mx:Style>
But the error is: font 'myFont' with normal weight and regular style not found