Do not use only ’embed’ tag when using Flex 3/Flash Actionscript 3 ExternalInterface. The communcation with only embed tag works with Firefox and no other browser. If you want to put the IE on work add the ‘object’ tag as well.
All posts by stoimen
Scrum
Here are some interesting links about scrum:
I’ll post more and more again …
flash player with debugger issue
Sometimes Flash Player with debugger is no displaying all correctly. I have an application which displays more than 200 bitmaps on the stage. Because of the Flash Player with debugger helping my Flex Builder 3 installation to work/debug properly the application always loaded correctly those bitmaps, but after been reported by several places that the bitmaps were not loading at all I faced the two-day sprint of finding the issue.
Finally I noticed that the issue does not exists for machines with installed Flash Player with debugger. After uninstalling the software from my machine I start having the problem there.
That case showed us that the ‘debugger’ version was ‘suppressing’ the problems sometimes. In our case it was an incorrect class instance.
Flex 3 Custom Preloader
Before to start I’ll put a link to my post with download and sample of a custom preloader you can use in your applications: http://www.stoimen.com/blog/2009/02/25/flex-3-custom-preloader-download/
If there’s a problem with making a custom flex 3 preloader, there is the solution. The problem after that is to place it at the center of the stage. But there is a solution again. Just because the Application is not available yet, doesn’t mean that the preloader cannot be positioned correctly.
Just don’t forget to use the stage.width and height properties, as shown in the example, and use that after added on stage event is fired.
Look carefully at the example!
I recently posted a sample with free donwload of custom datechooser. The sample can be found on:
http://www.stoimen.com/blog/2009/02/25/flex-3-custom-datechooser/
and the source can be downloaded here:
http://www.stoimen.com/blog/2009/02/25/download-custom-flex-3-datechooser/
Bitmaps in actionscript 3
In actionscript 3 the bitmaps are stored with 4 bytes for each pixel. There are three bytes for RGB and one for the alpha channel. So you should be carefull when passing images to the flash, cause 20×20 pixel image will be using apx. 1600 bytes of RAM, to optimize this send the image as it should appear on stage and do not resize.