After yesterday’s heated discussion as to the actual usefulness of an AS2 to AS3 converter, I decided to implement some of the features in laundry list to see if I could get something actually useful. You can test it live here. You can download the PHP source here. The source includes convert.php, which expects two […]
I’ve started to work a bit in AS3 and I will have to eventually convert an AS2 to project to AS3, which, considering it has over 100 classes already done, is going to be a major pain. So I thought of making a quick preprocessor converter that would take care of the most obvious and […]
A very common irritating factor when using Flash is FlashVars. When you test your movie inside the IDE you have to specify default parameters. So that these parameters don’t override the ones in the final movie, people have resorted to placing the variable initialization inside of a if(CustomActions) block. But then when playing the swf […]
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 […]
I was trying to optimize the encoding routine for my BitmapData saving solution and then I thought: WWTUD? Well, I tried every trick in the book: lowering the number of bitwise operations, replacing + with | or vice-versa, unrolling the encoding loop, reversing the if… All failed until I tried something dead obvious that I […]