_GuiCtrlCreateFlash(500,500,100,100,'http://vk.com/app3032701_6185695?ref=1')
Func _GuiCtrlCreateFlash ( $_EmbedWidth, $_EmbedHeight, $_Left, $_Top, $_FlashUrl )
Local $_GUIActiveX, $_HtmlCode, $_OpenFile
If Not IsObj ( $oIE ) Then $oIE = ObjCreate ( "Shell.Explorer.2" )
$_GUIActiveX = GUICtrlCreateObj ( $oIE, $_Left, $_Top, $_EmbedWidth, $_EmbedHeight )
$_HtmlCode &= '<iframe src="' & $_FlashUrl & '" width="' & $_EmbedWidth-25 & '" height="' & $_EmbedHeight-50 &'" frameborder="0" allowFullScrean="true"></iframe>'
$_HtmlFilePath = @TempDir & "\AutoItFlash.html"
$_OpenFile = FileOpen ( $_HtmlFilePath, 2 )
FileWrite ( $_OpenFile, $_HtmlCode )
FileClose ( $_OpenFile )
$oIE.navigate ( $_HtmlFilePath )
$oIE.document.body.scroll = "no"
FileDelete ( $_HtmlFilePath )
Return $_GUIActiveX
EndFunc ;==> _GuiCtrlCreateFlash ( )