vendredi 9 décembre 2016

Can anybody help me?

what script in which i can save multiple user's name in same text file automaticlly?

i made flash quiz in flash cs6. i have following script in which i can save user name in .txt file but each time it ask to save file .

I used following script :

import flash.net.FileReference; import flash.events.MouseEvent;

var myfiles:FileReference=new FileReference(); saveButton.addEventListener(MouseEvent.CLICK,saveFunction);

function saveFunction(event:MouseEvent):void {

trace("ok");
myfiles.save(inputtxt.text,".txt");

}

Aucun commentaire:

Enregistrer un commentaire