How to go back to parent page?

0 favourites
  • 3 posts
  • SOLVED --- See edit at the bottom


    I have created a test game and embedded it on my website. The game has an X button if someone wants to stop playing. I'm using the Browser object to go to another page once that button has been clicked. The problem is that this happens in the iframe I published the game in, but what if I want the parent page to be redirected to the destination page?

    Is there a way to do this?

    Thank you!


    EDIT: Solved. I've found a way to work around the problem by adding a new action to the default Browser object.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hi,

    can you help me?

    after this condition(on left button clicked on text 5),

    <img src="" border="0" />

    i want to redirect to my front page.

    my problem is that the url redirection is inside the iframe.

    <img src="" border="0" />

  • solved with this code:

    script> = "http://localhost/construct/";

    document.domain = "localhost/construct/"

    </script>edited><editID>asikanddestroy</editID><editDate>2012-08-29 23:09:13</editDate></edited>

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)