Hi ich hab mal wieder ein problem und zwar:
Kann man ein solches object
[autoit]$oFlash = ObjCreate("ShockwaveFlash.ShockwaveFlash")
[/autoit]
Resizen? z.B. mit GUICtrlSetResizing?
Hier ganzer Code:
Spoiler anzeigen
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$oFlash = ObjCreate("ShockwaveFlash.ShockwaveFlash")
$Form1 = GUICreate("Game Client", 631, 443, 192, 124, BitOR($WS_SIZEBOX, $WS_MAXIMIZEBOX))
$HMENU = GUICtrlCreateMenu("Spiele")
$Karten = GUICtrlCreateMenu("Karten",$HMENU)
$Shooter = GUICtrlCreateMenu("Shooter",$HMENU)
$Bike = GUICtrlCreateMenu("Fahrzeug Spiele",$HMENU)
$Flight = GUICtrlCreateMenu("Flugzeug/Helikopter",$HMENU)
$GoodGamePoker = GUICtrlCreateMenuItem("Goodgame Poker", $Karten)
$Dirt4 = GUICtrlCreateMenuItem("Dirt Bike 4", $Bike)
$Gibbets2 = GUICtrlCreateMenuItem("Gibbets 2", $Shooter)
$Tu95 = GUICtrlCreateMenuItem("TU 95",$Flight)
$FlashObj = GUICtrlCreateObj($oFlash, 0, 0, 630, 490)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $GoodGamePoker
$oFlash.Movie = "http://media.goodgamestudios.com/games/goodgamepoker.swf"
$oFlash.Loop = False
Case $Tu95
$oFlash.Movie = "http://www.freeonlinegames.com/games/15758/game.swf"
$oFlash.Loop = False
Case $Gibbets2
$oFlash.Movie = "http://www.freeonlinegames.com/games/21390/game.swf"
$oFlash.Loop = False
Case $Bike
$oFlash.Movie = "http://www.freeonlinegames.com/games/15145/game.swf"
$oFlash.Loop = False
EndSwitch
WEnd
Habs mit GUICtrlSetResizing versucht ging aber nicht.