[r97] curFrame is not defined

Bugs will be moved here once resolved.

Post » Fri Jun 29, 2012 5:59 pm

error on load from url c2runtime.js:8577

Its an easy fix. That line is missing _ after curFramearidale2012-06-29 18:06:47
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Mon Jul 02, 2012 6:08 pm

@aridale

This sounds like an important bug that needs to be fixed, but you have not provided enough information for us to be able to fix it. Please see how to report bugs and let us know more information about the problem!
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Mon Jul 02, 2012 6:13 pm

its in LoadURL in the sprite plugin runtime.js

     Acts.prototype.LoadURL = function (url_, resize_)
     {
          var img = new Image();
          var this_ = this;
          var curFrame_ = this.curFrame;
          
          img.onload = function ()
          {
               curFrame_.texture_img = img;
               curFrame_.offx = 0;
               curFrame_.offy = 0;
               curFrame_.width = img.width;
               curFrame_.height = img.height;
               curFrame_.spritesheeted = false;
     -->          curFrame.datauri = "";
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Mon Jul 02, 2012 6:20 pm

Thanks, good catch. Every exported c2runtime.js is different so line numbers in that file are not useful, but we've got it fixed now so thanks :)
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Mon Jul 02, 2012 6:42 pm

oh ok I didnt know stuff wasnt in the same spots in the generated runtime Ill remember that if I have to report anything else like this =D
B
13
S
5
G
2
Posts: 306
Reputation: 3,262


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests