Foros del Web » Creando para Internet » Flash y Actionscript »

Com embeder las fuentes de un componente?

Estas en el tema de Com embeder las fuentes de un componente? en el foro de Flash y Actionscript en Foros del Web. loading...................... Tengo ese problema, que tengo un componente que está debajo de una máscara y no se visualiza las fuentes, quisiera saber como arreglar eso, ...
  #1 (permalink)  
Antiguo 17/01/2005, 09:47
Avatar de MaBoRaK  
Fecha de Ingreso: abril-2003
Ubicación: La Paz - Bolivia
Mensajes: 2.003
Antigüedad: 21 años
Puntos: 35
Com embeder las fuentes de un componente?

loading......................



Tengo ese problema, que tengo un componente que está debajo de una máscara y no se visualiza las fuentes, quisiera saber como arreglar eso, o algun buen manual sobre manejo de componentes en flash mx 2004.

gracias.



connection closed.
__________________

Maborak Technologies
  #2 (permalink)  
Antiguo 17/01/2005, 12:11
Avatar de rod524  
Fecha de Ingreso: agosto-2004
Mensajes: 517
Antigüedad: 19 años, 8 meses
Puntos: 0
En flash: help > Flash Support Center.......

Flash TechNoteMissing text when nesting components
Issue
When using components, you may want to nest one component inside another (for example, you may want to place a Calendar component inside a DraggablePane). If the nested component contains text, the text may not render properly.

Solution
To make the text display correctly in a nested component, do both of the following:


Add an embedded font symbol to the movie
Add custom Actionscript to the first frame of the movie to recognize the embedded font


To add an embedded font symbol to the movie: 1 Open Window> Library
2 Select the Options Menu pop-up in the upper right of the Library.

3 Choose New Font.

4 Name the font (i.e., "Arial_embedded") and select the desired font from the Font list (the components use the Arial font by default, so if you want the default look of the component, choose Arial).
5 Select OK.
6 Right-click on the new font symbol in the Library and choose Linkage.
7 Check "Export for ActionScript".
8 Check "Export in first frame".
9 Enter a name (i.e., "myFont").

Note: For more information on embedding font symbols see Using font symbols (TechNote 14786).

Add the following ActionScript to frame one of your movie:
globalStyleFormat.embedFonts = true;
globalStyleFormat.textFont = "myFont";
globalStyleFormat.applyChanges();

Note: The second line of ActionScript refers to the linkage name of the font.


¿No es extraño que casi nadie revise la ayuda de flash incluida en el programa o la ayuda en linea de Flash Support Center?

Saludos.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:20.