Category

Archive for the 'Bugs' Category

PHP, FileReference, and sessions: a bug from hell

( Actionscript and PHP and Bugs )

Oh, I had fun debugging this one. I was using FileReference to build an interface for users to upload their resumes on an agency site. Once the user pressed the send button, the following happened:

File is sent using FileReference to upload.php. The location of the file is remembered using a session. Second file is sent using […]

Flash 8 bug: undead static vars wreak havoc in Simulate Download mode

( Bugs and Flash )

I had noticed some weird behavior with the Simulate Download mode of the Flash IDE test player, but I had failed to track down the issue earlier. The issue is that static vars aren’t reset when Simulate Download mode is selected: they keep their values from the previous regular test mode. To see the bug […]