Yesterday, i looked at getTextSnapshot() method of MovieClip.
MovieClip.getTextSnapshot() returns a TextSnapshot object which represent the entire static text in a movieclip, static text? yeah its static text.
According to AS Dictionary,
TextSnapshot objects let you work with static text in a movie clip. You can use them, for example, to lay out text with greater precision than that allowed by dynamic text, but still access the text in a read-only way.
TextSnapshot object has methods to perform different operations to find text or highlight some selection.
Though i do not have any specific usage right now, but i can see it as handy feature while providing searching facility in a single large document (MovieClip) with static text or it can be used in while developing learning content.
Can you guys think of any example?
If you wish to advertize on iGeeks, please contact the manager for the same.
iGeeks would love to publish your technical articles; contact the manager if you wish to write for iGeeks.

brajeshwar [at] brajeshwar.com
Comments
There are no comments for this post so far.
Post a comment