Tuesday 15 July 2014

JSFL typewriter effects for Flash CS6 -


Hopefully this is a quick one - I have not touched the flash after CS3 and used to use the following JSF typewriter effect.

I'm not sure there is a bug but the effect in CS6 actually works backwards - like this selection is reversed have make? In the last letters, the first animating becomes alive for the first time rather than inside.

Does anyone know about the solution? JSFL Below


  var doc = fl.getDocumentDOM (); Doc.breakApart (); Doc.distributeToLayers (); Doc.selectAll (); Var obs = doc.selection; Doc.get Timeline () InsertFrames (obs.length * 2, true, 1); Var tl = doc.getTimeline (); Var total = obs.length; Var i = Total + 1; While (i--) {tl.setSelectedLayers (i, true); Tl.cutFrames (0); Tl.pasteFrames (i * 2); Tl.clearFrames (0, (i * 2)); }   

The order in which the layers work, it is reversed at any point In case, only layer selection works for me:

  tl.setSelectedLayers (total - i, true);    

No comments:

Post a Comment