Flash - Textos embebidos

 
Vista:

Textos embebidos

Publicado por Fabian Vargas (1 intervención) el 29/04/2008 18:03:16
Buen día:

Me han dado una programación actioscript que extrae datos externos por medio de un xml. Hago los cambios de textos y funciona.

El problema que tengo es que cierto titulos no aparecen
He revisado el action script y sale esto

stdFont = function (t, d, sz, j)
{
t.field.html = true;
t.field.embedFonts = true;
t.field.autoSize = "left";
t.field.wordWrap = true;
t.field.multiline = true;
if (sz == undefined)
{
sz = 13;
}

t.field.htmlText = stdFormat.toHTML(d, false, undefined, undefined, {size: sz});
t.field.textColor = 16777215;
if (j)
{
var __reg2 = new TextFormat();
__reg2.align = "left";
__reg2.leading = 5;
__reg2.font = "Helvetica";
t.field.setTextFormat(__reg2);
}

}
;
urlFont = function (t, d, sz)
{
t.field.html = true;
t.field.embedFonts = true;
t.field.autoSize = "left";
if (sz == undefined)
{
sz = 13;
}

t.field.htmlText = stdFormat.toHTML(d, false, undefined, undefined, {size: sz});
t.field.textColor = 16777215;
}
;
headFont = function (t, d, sz)
{
t.field.html = true;
t.field.embedFonts = true;
t.field.autoSize = "left";
t.field.htmlText = titleFormat.toHTML(d, false, undefined, undefined, {size: sz});
}
;
subHeadFont = function (t, d, sz)
{
t.field.html = true;
t.field.embedFonts = true;
t.field.autoSize = "left";
t.field.wordWrap = true;
t.field.multiline = true;
t.field.htmlText = titleFormat.toHTML(d, false, undefined, undefined, {size: sz});
}
;

Cuando modifico los campos que dicen

t.field.embedFonts = true; por false, entonces aparecen pero con unas fuentes que no son las que le corresponden.

Como podría resolver este inconveniente? Apreciaría grandemente cualquier orientación en la resolución de este problema

De antemano Gracias

Fabian Vargas
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder