[r97] curFrame is not defined Forum Home > Construct 2 Development > Bugs > Closed bugs |
Post Reply
|
| Author | |
Post Options
Quote Reply
Topic: [r97] curFrame is not definedPosted: 29 Jun 2012 at 5:59pm |
|
|
error on load from url c2runtime.js:8577
Its an easy fix. That line is missing _ after curFrame Edited by aridale - 29 Jun 2012 at 6:06pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 02 Jul 2012 at 6:08pm |
|
|
@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! |
|
![]() |
|
Post Options
Quote Reply
Posted: 02 Jul 2012 at 6:13pm |
|
|
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 = ""; |
|
![]() |
|
Post Options
Quote Reply
Posted: 02 Jul 2012 at 6:20pm |
|
|
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 :)
|
|
![]() |
|
Post Options
Quote Reply
Posted: 02 Jul 2012 at 6:42pm |
|
|
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
|
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |