AS3 FP10 FileReference.save bug
Pilex For Sale
Cordarone No Prescription
Buy Adalat No Prescription
Buy Lamictal Online
Buy Online Clarina
Glucophage For Sale
Sinequan No Prescription
Buy Levitra No Prescription
Buy Online Tramadol
Lioresal For Sale
Buy Zetia Online
Buy Acomplia No Prescription
Prandin No Prescription
Buy Online Viagra
Avodart For Sale
Buy Superman Online
Buy Loprox No Prescription
High Love No Prescription
Buy Online Deltasone
Buy Isordil Online
Emsam No Prescription
Zestril For Sale
Buy Requip No Prescription
Buy Online Sleepwell
Buy Myambutol Online
While playing with FileReference.save today in Flash Player 10 I found a REALLY REALLY BIG BUG. It seems that if you go to overwrite a file it appends it’s contents instead of replacing.
1. Copy and paste the code below into a blank fla in CS4.
2. Compile the swf and save a file.
3. Close the swf
4. repeat step 2
5. Open the test.txt file.
I am on OSX and haven’t tested on a PC.
var str:String = "12345"; var ba:ByteArray = new ByteArray(); ba.writeUTFBytes( str ); var fr:FileReference = new FileReference(); fr.save(ba, "test.txt");
I did a quick search on the Adobe bug base and found some related issues from 2008 but they where for downloading files from the net.
Continue reading » · Written on: 08-04-09 · 4 Comments »


I am having the exact same issue. I need to overwrite an existing file but instead it appends to it. I am also using OSX. Anyone found a solution????
September 18th, 2009 at 11:38 amThe only way I have found to get around this is to use AIR. I have filed a bug in the Adobe bug base but have had zero response.
September 19th, 2009 at 5:49 amHas anyone noticed another bug I seem to have.
October 19th, 2009 at 4:01 amMAC 10.6.1
10,0,32,18 Debug player
After a FileReference.save operation, mouse rollovers seem to be disabled. It is very weird!
Here is the link to the bug:
https://bugs.adobe.com/jira/browse/FP-2490
So is this Snow Leopard only?
November 25th, 2009 at 3:08 pm