Tricks and Experiments , AS3 Tips
As you read each of the following descriptions, consider opening Flash, pasting the code into timeline script and testing the swf. FileReference.save() var file:FileReference = new FileReference(); stage.addEventListener(MouseEvent.CLICK, onClick, false, 0, true); function onClick(evt:MouseEvent):void {file.save(“some text.\nsome more text”, “actionsnippet.txt”); } This is one of my favorite features of Flash 10. We can save any kind [...]





