How do I make CanvasSnapshot auto-downloadable while online?

Get help using Construct 2

Post » Sat Mar 01, 2014 12:55 am

Hi,

1) I've used "Take snapshot of canvas (PNG, quality 100)" action to screen.
2) I've got an event " :arrow: On canvas snapshot", with action "Invoke download of CanvasSnapshot with filename..."
3) It's working when running layout under Construct 2, I've got the download window with proper PNG name.
4) When I export the project as HTML5 and upload it to my server, it's not working anymore, the snapshot is opened in a new tab, with a strange url. :(
(Tested on Firefox and Chrome, with Construct 2 all of them up-to-date)

Someone know why and how to fix that?
B
7
S
1
G
3
Posts: 46
Reputation: 1,731

Post » Mon Mar 03, 2014 7:37 pm

Noone?
B
7
S
1
G
3
Posts: 46
Reputation: 1,731

Post » Sun Apr 13, 2014 6:53 pm

I have the same problem. Can someone help please?
B
4
S
1
Posts: 5
Reputation: 395

Post » Wed Apr 16, 2014 10:11 am

Just tried on another C2 app. "Invoke Download" works perfectly on local but doesn't work while online, it's just open a new tab.
B
7
S
1
G
3
Posts: 46
Reputation: 1,731

Post » Wed Apr 16, 2014 11:56 am

Yes the same problem. Has anyone a solution?
B
4
S
1
Posts: 5
Reputation: 395

Post » Wed Apr 16, 2014 12:30 pm

We fixed a bug with 'invoke download' recently. Have you tried the latest beta?
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694

Post » Wed Apr 16, 2014 4:13 pm

I just did! Thank you Ashley, problem solved!!!
B
4
S
1
Posts: 5
Reputation: 395

Post » Sat Apr 19, 2014 11:19 pm

Latest beta no, I just only use stable version. But I trust you, I'll wait for next stable version to fix it then. :)
Thanks.
B
7
S
1
G
3
Posts: 46
Reputation: 1,731


Return to How do I....?

Who is online

Users browsing this forum: David181, luckyrawatlucky, shawnzien, Yahoo [Bot] and 8 guests