Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript (http://www.flasher.ru/forum/forumdisplay.php?f=5)
-   -   Посвятите в dashboardsave():) (http://www.flasher.ru/forum/showthread.php?t=28585)

RFMitrio 15.03.2002 17:42

Посвятите в dashboardsave():)
 
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");


Часовой пояс GMT +4, время: 08:28.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.