How do I import a HTML file local and load it in project?

Get help using Construct 2

Post » Sun Sep 04, 2016 5:36 am

Hi, guys
I have a HTML file, I want to import it into my project, then I can get link to the html file and load it in a iframe on divice.

In the java programming, I can copy and paste html file into folder project's assets and I can get link to html file (file:///android_asset/file.html)

How to I do similar in C2?

I read a documents about Browser plugin here https://www.scirra.com/manual/110/browser and try use Pode HTML Pack Plugin here https://www.scirra.com/forum/plugins-pode-html-pack_t69356. But I don't find suitable information for me



Thank you!

Please excuse my poor English :)
B
34
S
16
G
18
Posts: 58
Reputation: 11,710

Post » Sun Sep 04, 2016 9:08 am

gameba wrote:..I have a HTML file, I want to import it into my project, then I can get link to the html file and load it in a iframe on divice..


like this?

Image

drunkWeb.capx
Image
B
65
S
23
G
7
Posts: 1,501
Reputation: 10,888

Post » Sun Sep 04, 2016 11:15 am

Message: gameba can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
korbaach wrote:
gameba wrote:..I have a HTML file, I want to import it into my project, then I can get link to the html file and load it in a iframe on divice..


like this?

Image

https://app.box.com/s/kps0u0m86zhwve5sokwlz98nt05v3ulh drunkWeb.capx

Yes, This is exactly what I need. Thank you!
B
34
S
16
G
18
Posts: 58
Reputation: 11,710


Return to How do I....?

Who is online

Users browsing this forum: fearfulelephants and 21 guests