Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/util
In directory usw-pr-cvs1:/tmp/cvs-serv13187/lib/dynapi/util
Modified Files:
imganim.js
Log Message:
setAlternates should now work - setLoops is still broken
Index: imganim.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/util/imganim.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** imganim.js 2000/12/07 21:31:19 1.3
--- imganim.js 2001/04/03 20:38:20 1.4
***************
*** 34,46 ****
};
! ImageAnimation.prototype.setLoops = function (animNum) {
! this.imgAnim[animNum].loops = true;
};
ImageAnimation.prototype.setResets = function (animNum) {
this.imgAnim[animNum].resets = true;
};
! ImageAnimation.prototype.setAlternates = function (animNum) {
this.imgAnim[animNum].loops = true;
! this.imgAnim[animNum].alternates = true;
};
--- 34,46 ----
};
! ImageAnimation.prototype.setLoops = function (animNum,loop) {
! this.imgAnim[animNum].loops = loop;
};
ImageAnimation.prototype.setResets = function (animNum) {
this.imgAnim[animNum].resets = true;
};
! ImageAnimation.prototype.setAlternates = function (animNum,alt) {
this.imgAnim[animNum].loops = true;
! this.imgAnim[animNum].alternates = alt;
};
***************
*** 59,63 ****
if (this.dlyr!=null) this.dlyr.invokeEvent("imgrun");
};
-
ImageAnimation.prototype.run = function () {
if (!this.playing || this.imgAnim.playing==null || this.dlyr==null) return;
--- 59,62 ----
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs