PDA

View Full Version : Change swf values with tampermonkey


N00bMaximus
04-12-2011, 09:16 AM
I need to create a script that works with chrome greasemonkey (yeah with chrome, firefox not an option), and what i mainly need is:

Add a button to the page once loaded, to turn the script on

The script has to get the variable "margen" from the .swf and change its value from 0 to 700, please anyone could help me with this?

jsprclimber123
04-12-2011, 03:27 PM
You'll want to look into ExternalInterface calls to interact with javascript on the page for resetting variable values

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html