HTML embed code in LiveCode

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
rincon0204
Posts: 5
Joined: Thu May 28, 2015 3:40 pm

HTML embed code in LiveCode

Post by rincon0204 » Thu May 28, 2015 4:52 pm

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.

Klaus
Posts: 14267
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: HTML embed code in LiveCode

Post by Klaus » Thu May 28, 2015 5:06 pm

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

rincon0204
Posts: 5
Joined: Thu May 28, 2015 3:40 pm

Re: HTML embed code in LiveCode

Post by rincon0204 » Thu May 28, 2015 5:11 pm

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!

Klaus
Posts: 14267
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: HTML embed code in LiveCode

Post by Klaus » Thu May 28, 2015 5:19 pm

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

rincon0204
Posts: 5
Joined: Thu May 28, 2015 3:40 pm

Re: HTML embed code in LiveCode

Post by rincon0204 » Thu May 28, 2015 5:24 pm

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!!!!

Post Reply