| View previous topic :: View next topic |
| Author |
Message |
trex005 How do I cheat?
Reputation: 0
Joined: 04 Jan 2011 Posts: 5
|
Posted: Tue Jan 04, 2011 1:21 pm Post subject: Call actionscript function |
|
|
I appologize if this is obvious, I have been searching and searching, and perhaps I am just using the wrong terms.
I want to call a function that was defined in actionscript. I have the classname, the function name and I need to pass an integer.
The function is a public static function if that makes a difference.
|
|
| Back to top |
|
 |
CryptoPrime Cheater
Reputation: 1
Joined: 17 Dec 2010 Posts: 27 Location: United States
|
Posted: Tue Jan 04, 2011 8:12 pm Post subject: |
|
|
I was having this exact same problem! Here is a link to a question I asked about it on another forum, maybe that will help you out? I never was able to call the method I want via browser javascript, but it turns out that the code has to internally state (in many cases), explicitly that it can be called externally or something? If someone else could enlighten us a bit more than this, that would be great because I too am still a bit fuzzy on this also!
http://stackoverflow.com/questions/4482971/use-javascript-to-call-method-within-a-flash-swf-file
|
|
| Back to top |
|
 |
trex005 How do I cheat?
Reputation: 0
Joined: 04 Jan 2011 Posts: 5
|
Posted: Tue Jan 04, 2011 11:25 pm Post subject: |
|
|
Crypto,
Funny, your post on stackoverflow was actually one of the few I was working from, but alas, it did not do the trick. It seems to me what with CE, there would be some method to inject the code despite the fact that it is not possible with JS
|
|
| Back to top |
|
 |
|