Hi can any one explain to me how to embed fonts as for some reason i can get the font im using to show up
Here is the script i used to create the textfields:
//--------------------------------------------- textfields------------------
var sGreenFormat:TextFormat = new TextFormat(“kroeger 06_56”, 8, 0x7FDC09);
var sWhiteFormat:TextFormat = new TextFormat(“kroeger 06_56”, 8, 0xFFFFFF);
var sGreyFormat:TextFormat = new TextFormat(“kroeger 06_56”, 8, 0x9A9A9A);
MovieClip.prototype.create_text = function(sTextName, newDepth,TFormat, SizeMC, nX, nY, nWidth, nHeight) {
TFormat = (TFormat == undefined) ? tfFormatter : TFormat;
SizeMC = (SizeMC == undefined) ? mcDisplayBackground : SizeMC;
newDepth = (newDepth == undefined) ? 0 : newDepth;
nX = (nX == undefined) ? 3 : nX;
nY = (nY == undefined) ? -1.5 : nY;
nWidth = (nWidth == undefined) ? SizeMC._width: nWidth;
nHeight = (nHeight == undefined) ? SizeMC._height+1 : nHeight;
trace(“Creating new text: tData”+newDepth+", “+nX+”, “+nY+”, “+nWidth+”, "+nHeight);
this.createTextField(“tData”+newDepth, newDepth, nX, nY, nWidth, nHeight);
this[“tData”+newDepth].text = sTextName;
this[“tData”+newDepth].selectable = false;
this[“tData”+newDepth].multiline = false;
this[“tData”+newDepth].wordWrap = false;
this[“tData”+newDepth].setTextFormat(TFormat);
};
this.create_text(“Interactive Portfolio”, 0, sGreenFormat ,mcDisplayBackground, mcDisplayBackground._x+3, mcDisplayBackground._y-1);
mcMenu.create_text(“Menu”, 1, sGreenFormat, mytest, undefined, -2);
stop();
//------------------------------------------------------------------
as you can see from the 2 images i have put up with the fonts active on my system e.g font_on the text is ok but with the fonts turned of e.g fonts_off i get a different text even thou the fonts are done addressed in my script.
any help would be welcome on this
firstSteps