Firefox not displaying dynamically embedded flash? Page-speed might be your problem!

Posted in Flash, Javascript | 1 Comment

Flash no show

Today i discovered a worrying bug with Firefox, Firebug and Page-speed.  A good friend of mine, Chris Murray, was demonstrating his new flash photo upload applet. I rudely pointed out that it didn’t work in Firefox only to find out that it did in his. After wasting his time trying to prove SWFOject, Firefox and maybe Flash needed to be updated it turns out that no dynamically embedded flash worked in my version of Firefox. Sorry Chris… What do i mean by embedded flash? Well, to get round the various methods of embedding flash into multiple browsers, javascript is often used to insert the flash into the DOM. Thereby using different techniques per browser. To cut a long story short here is a screenshot of the relevant flash: pageSpeedFlash As you can see, the mark up is correct and present, just strangely disabled. I am using Firefox 3.5.3, Firebug 1.4.3 and Page-speed 1.3. All are the updated and most recent versions.

What can you do?

Nothing really. The issue has been raised with Page-speed guys and there is a support thread too. I expect this to be resolved straight away as the issue has been marked critical. It is probably best to disable Page-speed for the time being. There is always Yslow! Tags: ,

Flash Quick Tip: How to randomize an Array

Posted in Flash | 2 Comments
I had to google this today so i though i would share it with you! This snippet of actionscript can be used to simply re-order or randomize an array in Adobe Flash.
var myArray = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9);
myArray.sort(function (){
return Math.round(Math.random());
});
trace(myArray);
ps and yes i know I’ve spelt randomise wrong ; ) Tags:

The Best Interactive Flash Websites?

I recently stumbled across a few 100% fullscreen interactive flash websites. Now, if there was an award for the ‘Best Interactive Flash Websites’ out there, these would have to be contenders! I would love to have the opportunity to see the source code and fla’s for these:

http://www.scifi.com/tinman/oz/

A thumbnail of scifi.com/tinman

http://samorost2.net/plantage/plantage.swf

A preview of plantage

http://www.adobecards.com

A preview of the adobe cards animation

http://www.potatoparade.co.uk

A preview of potato parade

http://www.nawlz.com

a preview of nawlz.com

http://www.zunejourney.net/

a preview of zune yourney