Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Error in tigra calc
alexflom
Newbie

Posts: 1
Registered: 1/28/2009
Location: kiev
Member Is Offline
posted on 1/28/2009 at 01:25 AM Reply With Quote
Error in tigra calc


in the string:
a_img[j].src = 'img/' + i + '_' + j + '.gif'
of class constructor:

function Tcalculator() {
this.oper_old =
this.oper_old_old =
this.slag_1 =
this.slag_2 =
this.slag_1_old =
this.out_val =
this.p_out = '';
this.t_load = false;
this.TCRisNumber = TCRisNumber;
this.TCRisPoint = TCRisPoint;
this.TCRPopup = TCRPopup;
this.TCRrezult = TCRrezult;
this.TCRmntr = TCRmntr;
// preloading images
var a_img = [], i, j;
for (i = 0; i < 19; i ++) {
a_img = [];
for (j = 0; j < 3; j ++) {
a_img[j] = new Image();
a_img[j].src = 'img/' + i + '_' + j + '.gif'
}
}
}

should be:
a_img[j].src = 'my_tigra_path/img/' + i + '_' + j + '.gif'

Result of your string is server error:
[Wed Jan 28 03:12:16 2009] [error] [client xxx.xxx.xxx.xxx] File does not exist: /home/xxxx/data/www/xxxx.com.ua/img/12_0.gif
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
 Product Demonstrations Live Demo
Free Download Free Download
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004