Create text using array

Get help using Construct 2

Post » Sun Jan 22, 2012 9:08 am

For example, I have a 3x3 array. In each cell is the letter.
How i can create word using this letters and bring it to the text?
B
38
S
15
G
6
Posts: 238
Reputation: 7,770

Post » Sun Jan 22, 2012 9:15 am

For each element > append to text is one way to do it.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Sun Jan 22, 2012 10:51 am

[QUOTE=Mipey] For each element > append to text is one way to do it.[/QUOTE]

Thanks.
B
38
S
15
G
6
Posts: 238
Reputation: 7,770

Post » Sun Jan 22, 2012 11:05 am

One more question.
How can i copy text to clipboard with all of newlines? Is there any plugin for it?

I tried to make it through the edit box but the problem is that there is the entire text is written in a 1 line.
B
38
S
15
G
6
Posts: 238
Reputation: 7,770

Post » Sun Jan 22, 2012 11:37 am

to access the clipboard in javascript is a pain. I think it's doable in internet exporer (with a window.clipboardData.setData("Text", yourText); ) but not in other browser.
B
62
S
22
G
14
Posts: 1,481
Reputation: 16,400


Return to How do I....?

Who is online

Users browsing this forum: varons666 and 1 guest