Autor Zpráva
Peter45
Profil
Mam stiahnuty flash kde sa da editovat subor .xml, no nedokazem tam nastavit typ fontu az sa to vobec da...

<?xml version='1.0' encoding='UTF-8' ?>
<header_vars>
<graphics_color>000000</graphics_color>
<animation_loop>yes</animation_loop>

<header>
	<text_header_h1 x_pos="50" y_pos="100" size="25" letter_spacing="0" text_color="F72C1D">Nejaky text</text_header_h1>
	<text_header_h2 x_pos="10" y_pos="120" size="10" letter_spacing="1.9" text_color="FFFFFF"></text_header_h2>	
	<image blur="no">swf/1.jpg</image>
</header>	
<header>
	<text_header_h1 x_pos="20" y_pos="65" size="25" letter_spacing="1.5" text_color="ffffff"></text_header_h1>
	<text_header_h2 x_pos="91" y_pos="85" size="11" letter_spacing="3.2" text_color="FFFFFF"></text_header_h2>	
	<image blur="no">swf/2.jpg</image>
</header>	
<header>
	<text_header_h1 x_pos="10" y_pos="10" size="25" letter_spacing="0" text_color="FFFFFF"></text_header_h1>
	<text_header_h2 x_pos="50" y_pos="40" size="14" letter_spacing="5.4" text_color="FFFFFF"></text_header_h2>	
	<image blur="no">swf/3.jpg</image>
</header>	
<header>
	<text_header_h1 x_pos="50" y_pos="55" size="25" letter_spacing="0" text_color="FFFFFF"></text_header_h1>
	<text_header_h2 x_pos="10" y_pos="80" size="10" letter_spacing="1.9" text_color="FFFFFF"></text_header_h2>	
	<image blur="no">swf/4.jpg</image>
</header>	

<header>
	<text_header_h1 x_pos="10" y_pos="55" size="25" letter_spacing="0" text_color="FFFFFF"></text_header_h1>
	<text_header_h2 x_pos="10" y_pos="80" size="10" letter_spacing="1.9" text_color="FFFFFF"></text_header_h2>	
	<image blur="no">swf/5.jpg</image>
</header>
<header>
	<text_header_h1 x_pos="30" y_pos="55" size="25" letter_spacing="0" text_color="FFFFFF"></text_header_h1>
	<text_header_h2 x_pos="10" y_pos="80" size="10" letter_spacing="1.9" text_color="FFFFFF"></text_header_h2>	
	<image blur="no">swf/6.jpg</image>
</header>
<header>
	<text_header_h1 x_pos="50" y_pos="55" size="25" letter_spacing="0" text_color="FFFFFF"></text_header_h1>
	<text_header_h2 x_pos="10" y_pos="80" size="10" letter_spacing="1.9" text_color="FFFFFF"></text_header_h2>	
	<image blur="no">swf/7.jpg</image>
</header>
<header>
	<text_header_h1 x_pos="10" y_pos="55" size="25" letter_spacing="0" text_color="FFFFFF"></text_header_h1>
	<text_header_h2 x_pos="10" y_pos="80" size="10" letter_spacing="1.9" text_color="FFFFFF"></text_header_h2>	
	<image blur="no">swf/8.jpg</image>
</header>


<display_preload graphic_color="000000">yes</display_preload>

</header_vars>
embee
Profil
Asi takhle - pokud ten flash neni staveny na podporu vice fontu (coz je samo o sobe velmi problematicke), z XML zadny font imho nenadefinujes.
Tathata
Profil
Pokud tenhle konkrétní flash nemá naprogramovanou možnost změny fontu, pak bych zkusil tohle:

<text_header_h1 x_pos="50" y_pos="100" size="25" letter_spacing="0" text_color="F72C1D"><![CDATA[<font family="Arial">Nejaky text</font>]]></text_header_h1>

- má to jen 2 nedostatky:

1. Nebude to fungovat pokud to textové pole nebere html.
2. Dá se tak nastavit jen webově použitelné písmo, tzn. několik základních fontů, které má každý na svém pc. Pokud by ho totiž neměl na svém pc, text by se uživateli nezobrazil.

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm: