swfObject embed has the following signature,
swfobject.embedSWF(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj, callbackFn)
with width and heigth required attributes,
What can I do to signify dynamic height and width.