[Plugin] FileReader

Post your completed addons to share with the community

Post » Mon Oct 22, 2012 12:36 pm

@Filhanteraren : since I have now way to debug it under the Awesomium export, I can't make the necessary changes...
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Thu Nov 15, 2012 11:26 am

Hello @Pode, is possible to make a sprite as button instead of DOM which uses FileReader where you upload pictures?

Because i developed some game with fullscreen for mobile, i tried to touch a FileReader button but the coordenates are wrong and won't respond
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Thu Nov 15, 2012 4:02 pm

@Joannesalfla : the thing is it's up to each browser engine to decide how it's going to render a "FileReader". I'll try to see if I can force a something else than a DOM element .
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Sat Jun 01, 2013 2:49 am

@Pode is there any way to add in support for csv files? I want to load a cvs file to parse with the csv plugin.
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Sat Jun 01, 2013 3:14 am

@Pode

I made the change on my copy of your plugin so it reads accordingly. Here is the change I made to the runtime starting on line 133. This allows me to load a csv file and hook into rex's csv plugin. Feel free to make the change :)

if(this.file.name.endsWith("txt")
                                                            //|| f.name.endsWith("log")
                                                            || this.file.name.endsWith("xml")
                                                            || this.file.name.endsWith("svg")
                                                            || this.file.name.endsWith("csv")
                                                            //|| f.name.endsWith("tmx")      
                                                            || this.file.name.endsWith("html")      
                                                            || this.file.name.endsWith("htm")      )
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Sat Jun 01, 2013 5:21 pm

@Pode
@lanceal

Maybe this could be exported for user to setup.

B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Sat Jun 01, 2013 6:06 pm

@rexrainbow, I thought about uploading my changes but didn't want to cause conflict if pode has a yet to be released beta copy. So I just posted my change to the runtime so he can make the change if he hasn't already. I must say this and the csv to array plugin has saved me hours of grief, you two are amazing. :)
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Mon Jun 24, 2013 3:42 am

HI,Pode
have a bug in IE9
B
5
Posts: 7
Reputation: 1,089

Post » Mon Sep 09, 2013 4:31 am

Hey, I'm currently working on a project with multiple layouts and your plugin is great, however, is there a way to have the "file reader" button not bleed over onto the other layouts? I have them placed on a specific layout but they show up on all screens.
B
5
S
1
Posts: 8
Reputation: 355

Post » Tue Sep 10, 2013 9:41 am

Came across this plugin for web and mobile called filepicker.io from https://www.inkfilepicker.com/

I think it will be great to create a construct-2 plugin using this if possible...I am not a developer and hence couldn't do much in this regard...But if anyone of you could create this, I think it will be great to use...please let me know your views.
For game development / IT services contact - ravindra@actualconcepts.com

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
69
S
18
G
3
Posts: 332
Reputation: 6,783

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: gamecorpstudio, MadSpy and 1 guest