Opening a Webpage Inside of a SWF

Subscribe to Opening a Webpage Inside of a SWF 3 posts, 2 voices

 
avatar for ExtremePopcorn ExtremePopcorn 841 posts

I’d like to do something like this:

http://www.kongregate.com/games/skyboy/sky-splorer

I want to make a PHP/MySQL game and upload it here with a SWF that redirects to that page like in the Sky-Splorer game, so how can I do that? Would I have to use getURL? I’ve tried that, but it opens a new window, but I guess that either works different on Kongregate or Skyboy is using a different piece of code than me.

Can anyone help?

 
avatar for skyboy skyboy 163 posts

you need more than one frame, on the second frame put

getURL(url)
it only works well when used with frames(kong)

edit: i also find that a delay untill chat is loaded works nicely(‘_root.kongregateservices.connect()’ adds a delay that’s longer then i had built in with sky-splorer)

 
avatar for ExtremePopcorn ExtremePopcorn 841 posts

Great, thanks a ton =).