PDA

Просмотр полной версии : Посвятите в dashboardsave():)


RFMitrio
15.03.2002, 17:42
Subj по функции.

lucker
16.03.2002, 13:11
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");