FSMovie swf = new FSMovie(bao.toByteArray());
ArrayList al = swf.getObjectsOfType(FSMovieObject.DefineText);
if (al != null) {
Iterator it = al.iterator();
while (it.hasNext()) {
FSDefineText dt = (FSDefineText) it.next();
ArrayList texts = (ArrayList) dt.getObjects();
Iterator textIt = texts.iterator();
while (textIt.hasNext()) {
Object nextText = textIt.next();
if (nextText instanceof FSText) {
FSText ft = (FSText) nextText;