How do I retrieve a file size with Nodewebkit?

Get help using Construct 2

Post » Tue Aug 05, 2014 11:18 am

Hi, has anyone been using NodeWebkit's FileSize expression recently?
I guess it's not widely used, unless you're not making a game (like me)
Couldn't find anything in the forums though, here is what I tried so far, did I miss something?

Image

Not posting as a bug yet, but here is the error I get:

Uncaught node.js Error

TypeError: Cannot read property 'apply' of undefined
at ExpNode.eval_object_behavior_exp (http://localhost:50000/expressions.js:337:28)
at Parameter.get_exp (http://localhost:50000/eveng.js:2049:19)
at Action.run_object (http://localhost:50000/eveng.js:1808:32)
at EventBlock.run_actions_and_subevents (http://localhost:50000/eveng.js:929:38)
at EventBlock.run (http://localhost:50000/eveng.js:886:9)
at Runtime.executeSingleTrigger (http://localhost:50000/preview.js:4118:10)
at Runtime.triggerOnSheetForTypeName (http://localhost:50000/preview.js:4037:16)
at Runtime.triggerOnSheet (http://localhost:50000/preview.js:3969:13)
at Runtime.trigger (http://localhost:50000/preview.js:3946:12)
at HTMLInputElement.<anonymous> (http://localhost:50000/NodeWebkit_plugin.js:86:18)
B
21
S
6
G
8
Posts: 328
Reputation: 6,611

Post » Tue Aug 05, 2014 11:25 am

Looks like a bug, post it to the bugs forum following all the guidelines.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454


Return to How do I....?

Who is online

Users browsing this forum: bluesun66, Malhog, plinkie, Syazanie Amirin and 1 guest