Would the swfobject replacement just need to do the detection aspect, because using domHelper to create the embed or object tag solves the "click to activate" issues in IE, which in most cases is the primary reason for swfobject, right?. We currently use EXTJS to read some attributes from an A element and then create a dialog whose body is a domHelper created embed tag that calls a swf and passes in any attributes as flashvars.