how to manipulate images in a swf document, through its xml counterpart

jdomuser <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <[email protected]>
Hello, i have converted my swf document to xml using a java package in order
to manipulate(filtering etc.) image contents and replace them back to the
same document. I think this can be achieved easier by using the xml file.
Here is my piece of code that returns a null image data:

List imgList = root.getChildren("definebitsjpeg2");
ListIterator imgListIter = (ListIterator) imgList.iterator();
while (imgListIter.hasNext()) {
    Element imgEl = (Element) imgListIter.next();
    byte[] imgBytes = Base64.decode(imgEl.getText());
    ......
}
//imgBytes is returned null in the first iteration, what is the probable
reason you guess?

regards.
-- 
View this message in context: http://www.nabble.com/how-to-manipulate-images-in-a-swf-document%2C-through-its-xml-counterpart-tp19233308p19233308.html
Sent from the JDOM - General mailing list archive at Nabble.com.

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.