milos83 Posted March 2, 2009 Posted March 2, 2009 Hi guys. As I said, I want to stop flash app in a browser,eg. flash game, not a flash movie. I found some script on a forum. #include <GUIConstants.au3> Global $oRP = ObjCreate("ShockwaveFlash.ShockwaveFlash.1") GUICreate ("Flash", 820, 600, -1, -1) $GUIActiveX = GUICtrlCreateObj( $oRP, 10, 10 , 800 , 580) With $oRP .bgcolor = "#000000" .Movie = 'http://...game.swf'; .ScaleMode = 2 .Loop = True .wmode = "Opaque" .FlashVars = "" EndWith GUISetState () While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd $oRP = 0 GUIDelete () Exit Flash is working in this window, but I dont know how to control it, how to stop it-freeze it tnx in advance
motionman95 Posted March 2, 2009 Posted March 2, 2009 I really don't understand what you mean by "stopping it". Pausing it?
milos83 Posted March 2, 2009 Author Posted March 2, 2009 I really don't understand what you mean by "stopping it". Pausing it?yepIf its a game, I want game to freeze.eg. Sometimes my firefox get stuck and flash freeze for some time. I want to create that same effect. Surely it is possible, but i cant figured it out.
DeeRiee Posted March 13, 2009 Posted March 13, 2009 $oRP.Playing = False; For pause the flash $oRP.Play; For resume paused flash
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now