I am now using SWFObject to embed flash in my gadgets. This gets rid of the slightly annoying “Click to activate and use this control” prompt that appears when embedding flash in Internet Explorer without using an external javascript file.