Hey guys,
I was wondering if there is a way to create a ‘like’ button in flash as2 that when it’s clicked, it will get me to facebook to confirm the ‘like’. After the confirmation, I want flash to do something. I want this for the ‘share’ button too.
Something like: “Like our Facebook page and receive 30 coins!”, you know, those type of games.
I want to make an upgrade type game, where you can upgrade things and become more powerful. So my game will have a shop also, and a ‘free’ category, where you can get free coins if you ‘like’ a facebook page or ‘share’ it.
I have this code from here: http://www.kirupa.com/forum/showthread.php?361866-AS2-Facebook-Share-Button-Flash
on (release) {
_root.getURL("http://www.facebook.com/share.php?u=http://www.yourwebsite.com/", "_blank");
}
So after I confirm my ‘share’, I want flash to do something…
Thanks!
(Sorry for my bad English)