Io ho capito!![]()
codice:colore = new Color(this.mc) trasforma= new Object(); trasforma={ ra: '0', rb: '255', ga: '0', gb: '255', ba: '0', bb: '255', aa: '100', ab: '0'}; colore.setTransform(trasforma) offset=0 col=255 mc.onEnterFrame=function(){ if(offset<100){ offset+=1 trace(offset) col-=2.55 trace(col) trasforma={ ra: offset, rb: col, ga: offset, gb: col, ba: offset, bb: col, aa: offset, ab: col}; colore.setTransform(trasforma) }else{delete this.onEnterFrame} }![]()

Rispondi quotando