Page 1 of 1

HTML embed code in LiveCode

Posted: Thu May 28, 2015 4:52 pm
by rincon0204
Hello!

I need your help in this case: I'm going to make an app with Livecode that shows embed content in HTML (exactly a content from a webpage), something like that:

<object data='[link of a webpage with index.php]' width='100%' height='100%'>
<embed src='[link of a webpage with index.php]' width='100%' height='100%'> </embed>
Error: Embedded data could not be displayed.
</object>

But I don't know which is the control I need to use, the event and the exact code to show this embed code.

I will thank your help. Greetings.

Re: HTML embed code in LiveCode

Posted: Thu May 28, 2015 5:06 pm
by Klaus
Hi rincon0204,

1. welcome to the forum! :D

2. not sure I get it!?
You want to display the above mentioned HTML code as TEXT?
Or as "HTML" like in a web-browser?


Best

Klaus

Re: HTML embed code in LiveCode

Posted: Thu May 28, 2015 5:11 pm
by rincon0204
Hi Klaus, How are you?

I need to show this code as "HTML" like in a web-browser...

Thank you very much for the welcome!!! Greetings!

Re: HTML embed code in LiveCode

Posted: Thu May 28, 2015 5:19 pm
by Klaus
Hi rincon0204,

AHA! :D

OK, in that case you better use a BRWOSER object.

Unfortunately this is no control that you can drag and drop from the TOOLS palette,
you need to script almost all of it. Check this tutorial to get started:
http://lessons.runrev.com/m/2592/l/2781 ... n-your-app

And read up all "revBrowser..." commands in the dictionary!


Best

Klaus

Re: HTML embed code in LiveCode

Posted: Thu May 28, 2015 5:24 pm
by rincon0204
Thank you very much Klaus for your help!!!
I'm gonna try it!!! If I'll have any doubt about it, i'll ask again.

Greetings from Colombia!!!!