svnno****@sourc*****
svnno****@sourc*****
2009年 12月 12日 (土) 23:33:46 JST
Revision: 1460 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1460 Author: dhrname Date: 2009-12-12 23:33:46 +0900 (Sat, 12 Dec 2009) Log Message: ----------- Modified Paths: -------------- branches/05x/056/sie.js Modified: branches/05x/056/sie.js =================================================================== --- branches/05x/056/sie.js 2009-12-12 14:27:06 UTC (rev 1459) +++ branches/05x/056/sie.js 2009-12-12 14:33:46 UTC (rev 1460) @@ -2179,9 +2179,9 @@ NAIBU.Time = { currentFrame : 0, - start : function () { + start : function() { if (NAIBU.Clip.length > 0) { - NAIBU.stop = setInterval( (function(){ + NAIBU.stop = setInterval( (function() { var ntc = NAIBU.Time.currentFrame++; var nc = NAIBU.Clip; for (var i=0,ncli=nc.length;i<ncli;++i) { @@ -2248,7 +2248,7 @@ } return this; }; -STSetElement.prototype.set = function (w,h){ +STSetElement.prototype.set = function(w,h) { this.to = this.tar.getAttribute("to"); var offset, beginOffset = 0; try { @@ -2300,7 +2300,7 @@ "ms" : 0.8 }; //sは現在のフレーム数であることに気をつけること -STSetElement.prototype._frame = function (/*int*/ s){ +STSetElement.prototype._frame = function(/*int*/ s) { if (this._begin) { if (this._begin <= s) { if (this.currentFrame === 0) { @@ -2317,7 +2317,7 @@ } } }; -STSetElement.prototype.beginElement = function (){ +STSetElement.prototype.beginElement = function() { var target = this.target; var base = target[this.attributeName]; try { @@ -2363,7 +2363,7 @@ } return; }; -STSetElement.prototype.endElement = function (){ +STSetElement.prototype.endElement = function() { if (this.fill) { if (this.fill === "freeze") { return; @@ -2373,10 +2373,10 @@ this.beginElement(); return; }; -STSetElement.prototype.beginElementAt = function (offset){ +STSetElement.prototype.beginElementAt = function(offset) { this._begin = Math.ceil(offset * 0.8 / 24 + NAIBU.Time.currentFrame); //フレーム数に変換(軽量化のために、1s = 800msで計算) }; -STSetElement.prototype.endElementAt = function (offset){ +STSetElement.prototype.endElementAt = function(offset) { this._end = Math.ceil(offset * 0.8 / 24 + NAIBU.Time.currentFrame); }; @@ -2444,7 +2444,7 @@ } } catch(e) {stlog.add(e, 2239);} }; -_noie_STSetElement.prototype.beginElement = function (){ +_noie_STSetElement.prototype.beginElement = function() { try { var target = this.target, base = target.getAttributeNS(null, this.attributeName) || target.style.getPropertyValue(this.attributeName); target.setAttributeNS(null, this.attributeName, this.to);