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
38
S
19
G
19
Posts: 69
Reputation: 12,634

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
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

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
38
S
19
G
19
Posts: 69
Reputation: 12,634


Return to How do I....?

Who is online

Users browsing this forum: humanescape, Klarner and 24 guests