[Plugin] : HTMLString (display HTML inside C2)

Post your completed addons to share with the community

Post » Tue Nov 29, 2011 4:49 pm

@JohnJ: since the WebFont plugin I published today isn't working the same way, you can try to display HTML strings, for the moment ;).
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Wed Feb 08, 2012 10:26 pm

B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Thu Feb 09, 2012 12:06 am

Thanks for the update...
B
40
S
14
G
11
Posts: 243
Reputation: 9,427

Post » Fri Apr 27, 2012 5:14 pm

Edit : 27 april
New build of the plugin.
You can get back the HTML String as a base64 representation !
So now, you can have whatever HTML string you want inside the plugin, and get it back to inject it as an image a Sprite, for example !



The demo : http://dl.dropbox.com/u/1412774/HTMLStringDemo2/index.html
The .capx : http://dl.dropbox.com/u/1412774/HTMLStringDemo2/HTMLStringDemo2.capx
The plugin : http://dl.dropbox.com/u/1412774/HTMLStringDemo2/pode_html_string.1.3.zip

Remember, because of the way it's handle behind the stage, don't forget to set a size for your HTML string.
You can use something like that :
"<p style='font-size:20px;'>your_HTML_string</p>"
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Tue Jul 24, 2012 1:19 am

Hey, does this work with iframes?
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910

Post » Wed Jul 25, 2012 11:04 am

@megatronx : what do you mean ? The plugin is made to display a simple html string (like using a <div>, if you want) inside C2. What do you want to do with an iframe ?
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Wed Jul 25, 2012 4:03 pm

Hey, just display another page :) I think I've found one plugin for iframe thou.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910

Post » Wed Jul 25, 2012 7:42 pm

@megatronx : yeas, I also maintain an <iframe> plugin .
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Fri Feb 08, 2013 6:22 pm

Hi,

I cant manage to make it work in preview mode on C2 R117.

   Date tested: 2013-02-08
   Tested on: Chrome 24.0.1312.57 m - nothing happens
   Teste on: Firefox 18.0.2 - nothing happens

HOWEVER... Your example in Internet works...

BTW, cant make the HTMLStringDemo2 work, because it needs InjectImage, and InjectImage plug-in (your, v 0.2) does not load on R117.

I am willing to help you if it is a problem, but I also need to know if you are still there to try to sort things out.

B
6
S
1
Posts: 16
Reputation: 1,116

Post » Fri Feb 08, 2013 9:00 pm

@xexeo : at the moment, the plugin and Injectimage doesn't work with WebGL activated.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 5 guests