Curtis Chang

Results 3 comments of Curtis Chang

How about this ``` python # mark do_something and do_anotherthing as template and store it's code body. with template: def do_something(x,y): print "do something...." def do_anotherthing(x,y): pass # to use...

``` javascript function __stringformat__() { // string-format from node.js var format, lookup, resolve, __slice = [].slice; String.prototype._format = function _format(){ function lengthen(fname, length){ if (length == undefined) return fname if...

controlling mc timeline with Javascropt ```javascript frameNumber = Math.floor( totalFrames * ( currentScroll / scrollLength) ) comp = new SVGAnim( json, width, height, fps ); comp.mc.gotoAndPlay( frameNumber ) ```