Javascript (Construct 3 Plugins)

  • UpvoteUpvote 57 DownvoteDownvote
    This content is deleted
    Addon
    Javascript

    Use 3rd party JS libraries (including JQuery), call Javascript functions, access object properties and methods. Implement game objects, and algorithms in Javasc...

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • Hmm I already changed it, but I actually think I know the issue. What I did was

    function loadImage(img){

    var image = new image();

    image.onload = function() {

    return "whatever";

    }

    image.src = img;

    }

    and if I´m not mistaken the "return" on that place will not return the value where I need it to be returned. My b!