divaweb's Recent Forum Activity

  • Thanks Ashley. Great news

  • Thanks for your feedback, Naji However, it's a feature that was present and working in previous versions and I already use it in my games, so I'd prefer that the bug be fixed rather than ignored.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Problem Description

    Invoke Download works locally in "Run Layout," but does not work when live on a web page. It appears to be behaving as "Open URL in New Window" instead.

    Attach a Capx

    http://thekidzpage.com/notworking/wontinvokedownload.capx

    *This is the example .capx included with Construct 2 (aka: Example: Taking screenshots)

    Description of Capx

    Take screenshot then invoke download.

    Steps to Reproduce Bug

    • Click/Tap Button: "Take screenshot"
    • Click/Tap Button: Download

    Observed Result

    Image opens in new window (as in "Open URL in New Window" command, rather than the "Invoke Download" command as specified) No error message is present.

    Expected Result

    Dialogue box opens to request download location for image to save

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES
    • Opera: YES

    Operating System and Service Pack

    Windows 7, Service Pack 1

    Construct 2 Version ID

    Construct Release 163

    *Also tested on and affects: Chrome and Safari using iPad Mini

    Live Demo

    http://thekidzpage.com/notworking/

  • Looking forward to the event search. Awesome!!

  • There's also a step-by-step tutorial for this:

    https://www.scirra.com/tutorials/656/adding-your-own-template-to-new-projects

  • How it went?

    Unfortunately, I haven't been able to get it to work for me. Obviously something I'm doing wrong, so I'm going to have to re-check my work and try, try again ;)

  • johxn Thank you for bringing up this question. I'm having the same problem.

    jeansson Thanks for the potential solution. Will definitely try this out *fingers crossed*

    jn2002dk How else do you propose embedding an html5 game on a web page? I'd love to hear your suggested alternatives. I've been planning to use iframes because I thought that was our only option.

  • Thank you so much for your reply and tips Ashley (and for correcting my javascript) <img src="smileys/smiley9.gif" border="0" align="middle" />

    I'm going to be publishing this only for browsers for the time-being. My primary concern is to ensure there will be no security issues. Of course functionality is pretty darned important too ;)

    This will be my first published project made with Construct 2, so... fingers crossed!

  • With (what I am sure are well-founded) warnings about using Execute Javascript in Construct 2, I'm hoping that someone can provide me with either assurances or further warnings regarding the following instance of Execute Javascript:

       Execute javascript "javascript:window.print();"

    Do you think this is something that could cause security issues, etc... ? If so, have you found any alternate ways to achieve a window print?

    FYI, I'm not just asking off the top of my head. I tried to be a responsible community member by searching the manual, tutorials and forums but failed to find a solution.

  • Many thanks for the head's-up on this issue!

  • Thank you tulamide for your talent & for sharing it with us! Keep up the great work.

  • Wow! Lots of talent here, and lots of inspiration. I'll definitely be following along now that I've finally found this post and, who knows, maybe even dig out a couple of things from my own portfolio if you promise not to laugh too hard ;)

divaweb's avatar

divaweb

Member since 30 Aug, 2013

None one is following divaweb yet!

Connect with divaweb

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers

Progress

12/44
How to earn trophies