Показать сообщение отдельно
Старый 16.03.2002, 13:11
lucker вне форума Посмотреть профиль Отправить личное сообщение для lucker Найти все сообщения от lucker
  № 2  
lucker

Регистрация: Mar 2002
Адрес: Беларусь, Минск
Сообщений: 27
Отправить сообщение для lucker с помощью ICQ
Save text or movie on the local disk (works in editor only). Stored data are located in (installedFlashFolder)\Dashboard folder

It takes two parameters:

objectForSave
fileName
objectForSave may be string or movieclip type

fileName name of file which you create

return true if is file created, false otherwise

Examples:
1
text="Hello World";
dashBoardSave(text,"greeting.txt");

2
movie1=_level0;
movie2=_level1;
dashBoardSave(movie1,"movie1.swf");
dashBoardSave(movie2,"movie2.swf");

Attention:
is possible to specify as name a relative path to a file, that it is very dangerous

path="../";
dashBoardSave(this,path+"Flash5.exe");
__________________
Read the manual!:rolleyes: