drummer_scum
06-06-2008, 12:05 AM
Hi guys, everyone knows that when u have dynamic text that is masked you need to embed the fonts...however i have a dynamic textField that is set to render as htmlText which is inside a movieClip which is masked. When you publish the movie via ctr + alt + enter the textField shows up but when u publish the movie with ctrl + enter the text is not displayed...i have never had this problem before...the text does not show up under the mask...all the links are there but you cant see the text heres the code....
var rsTextField:TextField;
function setUpRsText():void
{
rsTextField = new TextField();
rsTextField.embedFonts = true;
rsTextField.autoSize = TextFieldAutoSize.LEFT;
rsTextField.multiline = true;
var format:TextFormat = new TextFormat();
format.font = "Arial";
format.color = 0x000000;
format.size = 12;
rsTextField.defaultTextFormat = format;
rsTextField.x = 70;
//rsTextField.antiAliasType = flash.text.AntiAliasType.NORMAL;
rsTextField.y = -107;
addChild(rsTextField);
rsTextField.htmlText = 'there will be a series of <b><u><a href="event:challenges">challenges</a></u></b> to take part in.';
rsTextField.addEventListener(TextEvent.LINK, linkEvent);
}
setUpRsText();
var rsTextField:TextField;
function setUpRsText():void
{
rsTextField = new TextField();
rsTextField.embedFonts = true;
rsTextField.autoSize = TextFieldAutoSize.LEFT;
rsTextField.multiline = true;
var format:TextFormat = new TextFormat();
format.font = "Arial";
format.color = 0x000000;
format.size = 12;
rsTextField.defaultTextFormat = format;
rsTextField.x = 70;
//rsTextField.antiAliasType = flash.text.AntiAliasType.NORMAL;
rsTextField.y = -107;
addChild(rsTextField);
rsTextField.htmlText = 'there will be a series of <b><u><a href="event:challenges">challenges</a></u></b> to take part in.';
rsTextField.addEventListener(TextEvent.LINK, linkEvent);
}
setUpRsText();