commit
fix sendData
add swfVersion
add getDocument getWindow