News - Happenings at iGeeks

January 28th, 2004

TextSnapshot Object

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?

Abdul Qabiz

Comments

There are no comments for this post so far.

Post a comment

Policy on Comments : First-time comments are automatically put under moderation (and will not be displayed) until they are approved. However, your comments in future will show up immediately.

Join iGeeks

Sign up with your email to be an iGeek

Managed by Yahoo Groups

If you wish to advertize on iGeeks, please contact the manager for the same.

Contribute

iGeeks would love to publish your technical articles; contact the manager if you wish to write for iGeeks.

Contact

brajeshwar [at] brajeshwar.com