Forum Sitebox The "showThanks" Javascript method?

Discussion and help relating to the PlayerIO webpage and Facebook app hosting solution, Sitebox.

The "showThanks" Javascript method?

Postby mrgreen » April 12th, 2011, 5:21 pm

Hiya

Maybe im blind but I cant find any reference to the "showThanks" method that is called by
Code: Select all
ExternalInterface.call("showThanks")


in the Game.as in the Seedlings example?

What does it do, and where can I find it?
mrgreen
 
Posts: 52
Joined: February 12th, 2011, 7:27 pm

Re: The "showThanks" Javascript method?

Postby cjcenizal » April 13th, 2011, 1:37 am

In the invite.html page, showThanks() is a Javascript method on line 27. ExternalInterface.call([methdoName]) is Flash's way of calling JavaScript methods, so whenever you see that being used, you know to look for the called method somewhere in the HTML and JavaScript files that are accessible to the embedded SWF.
cjcenizal
Paid Member
 
Posts: 115
Joined: March 29th, 2011, 12:31 am


Return to Sitebox



cron