Клубове Дир.бг
powered by diri.bg
търси в Клубове diri.bg Разширено търсене

Вход
Име
Парола

Клубове
Dir.bg
Взаимопомощ
Горещи теми
Компютри и Интернет
Контакти
Култура и изкуство
Мнения
Наука
Политика, Свят
Спорт
Техника
Градове
Религия и мистика
Фен клубове
Хоби, Развлечения
Общества
Я, архивите са живи
Клубове Дирене Регистрация Кой е тук Въпроси Списък Купувам / Продавам 02:33 17.06.24 
Клубове/ Компютри и Интернет / Flash Пълен преглед*
Информация за клуба
Тема Re: Flash+external txt файл на кирилица [re: Joker]
Авторtoshe (Нерегистриран) 
Публикувано20.11.04 11:42  



I found it in the Flash MX 2004 Help:


To include multilanguage text using an externally loaded file:
In the Flash authoring tool, create a dynamic or input text field to display the text in the document. For more information, see Working with Text.
In the Property inspector, with the text field selected, assign an instance name to the text field.
Create a text or XML file that defines the value for the text filed variable.
Save the file in UTF-8 (recommended), UTF-16BE, or UTF-16LE format.
If you are using UTF-16 format, make sure a byte order mark is included at the beginning of the file to identify the encoding:

For UTF-16BE, the first byte of the file should be OxFE, and the second byte should be OxFF.
For UTF-16LE, the first byte of the file should be OxFF, and the second byte should be OxFE.
Note: Most text editors that can save files in UTF-16BE or LE automatically add the BOMs to the files.

Use one of the following ActionScript procedures to reference the external file and load it into the dynamic or input text field:
Use the loadVariables action to load an external file. For more information, see loadVariables().
Use the getURL action to load an external file from a specified URL. For more information, see getURL().
Use the LoadVars object (a predefined client-server object) to load an external text file from a specified URL. For more information, see LoadVars class.
Use the XML object (a predefined client-server object) to load an external XML file from a specified URL. For more information, see XML class.



Цялата тема
ТемаАвторПубликувано
* Flash+external txt файл на кирилица Joker   19.10.04 13:33
. * Re: Flash+external txt файл на кирилица Flash   01.11.04 14:26
. * Re: Flash+external txt файл на кирилица lamer4e   18.11.04 11:43
. * Re: Flash+external txt файл на кирилица lamere4e   18.11.04 11:45
. * Re: Flash+external txt файл на кирилица toshe   20.11.04 11:42
Клуб :  


Clubs.dir.bg е форум за дискусии. Dir.bg не носи отговорност за съдържанието и достоверността на публикуваните в дискусиите материали.

Никаква част от съдържанието на тази страница не може да бъде репродуцирана, записвана или предавана под каквато и да е форма или по какъвто и да е повод без писменото съгласие на Dir.bg
За Забележки, коментари и предложения ползвайте формата за Обратна връзка | Мобилна версия | Потребителско споразумение
© 2006-2024 Dir.bg Всички права запазени.