How do I load a text list inside the dropbox list

Get help using Construct 2

Post » Mon Dec 15, 2014 6:28 pm

Well if you are actually able to load the file with AJAX, populating a list with it shouldn't be hard. First clear the list if it's not empty, then loop through all "tokens" of your data using "newline" as separator.
B
74
S
31
G
26
Posts: 994
Reputation: 20,198

Post » Mon Dec 15, 2014 6:37 pm

its a little bit omplicated for me :D can you help me with a capx?

thanks in advance
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Mon Dec 15, 2014 6:45 pm

Sure, here's a simple example using a project file.
You do not have the required permissions to view the files attached to this post.
B
74
S
31
G
26
Posts: 994
Reputation: 20,198

Post » Mon Dec 15, 2014 8:11 pm

i see how its done, but the thing is, the file is external of the project, need to be loaded from an ftp not from inside the project
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Mon Dec 15, 2014 8:51 pm

I thought you said you had that part covered? Fetching the file from FTP will probably require you to write a server side script that fetch the file and return it as a response.
B
74
S
31
G
26
Posts: 994
Reputation: 20,198

Post » Mon Dec 15, 2014 9:01 pm

i changed a little bit your capx, and now its working perfectly

thanks again
Magistross
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests