Forum Sitebox Sitebox swf using document.getElementById()

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

Sitebox swf using document.getElementById()

Postby unboundedgames » April 1st, 2015, 2:41 am

Anyone happen to know the element ID for the swf object using sitebox for Facebook?
I'm using as3 ExternalInterface and need also to use document.getElementById("elementID").method(etc) in a javascript function on the main html to pass something back to the swf, but I'm not sure what exactly that ID is. ("game"?)

This isn't really my area of expertise so please forgive me if it's a stupid question. :|
Paid Member
Posts: 51
Joined: February 17th, 2013, 11:40 pm

Re: Sitebox swf using document.getElementById()

Postby wbsaputra » October 7th, 2016, 4:41 am

but having problem to call function from javascript to as3, using document.getElementById('game') seems not working.
Any suggestion?
Paid Member
Posts: 145
Joined: June 29th, 2010, 4:38 pm

Return to Sitebox