[SOLVED] HTML Frame?

This forum is currently in read-only mode.
From the Asset Store
Selection frame like in RTS games, works both on mobile and desktop devices.
  • <center><img src="http://img15.hostingpics.net/pics/667192IMG002.gif" border="0" /></center>

    Well hello,

    I see there's a HTML plugin on CC, but it only can load or show self written HTML file, so all needs to be done locally.

    But is there any plugins that allows you to place a HTML frame that loads an internet page instead, like google.com, etc.?

    Regards.

  • I think what you need to do is use the HTTP/download object to get the contents (html) of a page, then dump it into the HTML object. After that it might work as expected but I'm not sure.

    Also, you could try something with an iFrame like:

    <iframe width="480" height="360" src="http://www.kickstarter.com/projects/353834117/insanitys-blade-the-ultimate-8-bit-experience/widget/video.html" frameborder="0" scrolling="no"> </iframe>

    And see if that works!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Unfortunately the html object only supports basic html for the purpose of formatted text.

    You can do it with python though. Take the example in this post:

    http://www.scirra.com/forum/topic80786_post473862.html#473862

    and change the line

    image= ...

    to

    image="www.google.com"

    Viola! you now have ie embedded in your window.

    You can do quite a lot with the winapi but you'll have to dig around the documentation:

    http://msdn.microsoft.com/en-us/library/windows/desktop/ms632680%28v=vs.85%29.aspx

  • : Yes, indeed, that works with Python:

    <img src="http://img11.hostingpics.net/pics/747449IMG001.gif" border="0" />

    Jayjay: He he, no, I tried such things but the problem is that the HTML understand only the formatted text, so if you put a code like:

    <strong>A bold label</strong>

    It would show "<strong>A bold label</strong>" instead of "A bold label".

    Actually... It's like a a fake HTML object... <img src="smileys/smiley17.gif" border="0" align="middle" />

    I would certainly use your solution, R0j.

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