Vindicator209 Posted March 26, 2007 Share Posted March 26, 2007 Hey, I was wondering if it's possible to retrieve values from an outside FlashObject, such as a flash game? [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
oleg Posted March 26, 2007 Share Posted March 26, 2007 Hey, I was wondering if it's possible to retrieve values from an outside FlashObject, such as a flash game?Sure.Here is some code to help you.$SWFOBJ = ObjCreate ("ShockwaveFlash.ShockwaveFlash.1") < Create a flash object$swfActiveX = GUICtrlCreateObj ($SWFOBJ, 0, 0, 640, 400, -1, $GUI_WS_EX_PARENTDRAG) < Add object to GUI$SWFOBJEvents = ObjEvent ($SWFOBJ, "FSCommand") < Create an falsh object eventThis is fucntion that is fired whenever Fscommand is triggered in Flash movieFunc FSCommand($TYPE, $COMMAND, $ARGUMENTS)EndFunc There is a hex ( 31303030303030 ) reasons i love AutoIt ! Link to comment Share on other sites More sharing options...
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