| JavaSWF9 - SWF related Java classes |
|
|
|
|
JavaSWF9 is a collection of Java classes useful to manipulate SWF files up to version 9. This work is in progress. The repository is hosted at Assembla and if you want to contribute just let me know. There's an early version of the documentation, also available for download.
USAGE EXAMPLES A. BUILD SWF FROM IMAGE In this example we have a set of images stored in a local folder. We can build a SWF movie simply calling SWF9.makePNGs if no output compression is required, or SWF9.makeJPEG2s to create a compressed movie, as follow:
import swf9.*;
The previous snippet create the SWF 9 uncompressed movieclip "out.swf" starting from the image sequence "image001.*, image002.*, etc." (so the common identifier is "image") stored in the subfolder "folder". The framerate will be 25fps and the framesize 320x240px.
import swf9.*;
The previous snippet create the SWF 9 compressed movieclip "out.swf" starting from the image sequence "image001.*, image002.*, etc." (so the common identifier is "image") stored in the subfolder "folder". The framerate will be 25fps and the framesize 320x240px.
B. MAKE A THUMBNAIL OF THE SWF Suppose we have a SWF movie and for some reason we want to create the associated thumbnail.
import swf9.*;
The previous snippet create a thumbnail of the SWF 9 movieclip "in.swf" and save it as "thumb.png". The thumbnail contains the frame number 10 of the clip.
DOWNLOAD
|
| Ultimo aggiornamento Giovedì 05 Febbraio 2009 17:03 |




Comments
I tried it out and the examples work fine.
But is it possible to decompile/deconvert/parse an existing swf-file?
If Yes please tell me how. I only could read out the header information.
Greetz,
Ben
Grazie
like this packed with great information
this was a really quality post.I wasn't aware of the many ripples and depth to this story until I surfed here through Google! Great job.
this was a really quality post.I wasn't aware of the many ripples and depth to this story until I surfed here through Google! Great job.
The photo is beautiful.
Thank you for sharing all this great information.
From all the comments in your blog most of then are very interesting.
xxxxxxxx that worth you to see. Believe me these websites won't let you down.
discount handbags as her birthday gift.
My brother like discount watch very much,but I
suggest him to buy a
Designer Watches .
My uncle is led manufacturer,and his wife do
wholesale jewelry.
I want to be led strip lights designer.
My father want to find China Electronics Wholesale
supplier.
My friend lily want to buy a Discount Watches.I find her
like ceramic watch mostly.
I like and love
Marc Jacobs Handbags,want to buy one this year.
[URL=http://www.myceramicwatch.org]ceramic watch[/URL].But I like
[URL=http://www.mydiscounthandb ags.com]discount handbags[/URL] more.
Where do I could buy
[URL=http://www.mydiscountwatch es.org]discount watch[/URL].
Let's go to buy
[URL=http://www.thedesignerwatc hes.org]Designer Watches[/URL].
Find the
[URL=http://www.theledmanufactu rer.org]led manufacturer[/URL] from China.
Do you want to purchase for low price
[URL=http://www.wholesalejewelr ywatches.net]wholesale jewelry[/URL]
that is what I want.
I want to be [URL=http://www.benwon.com]led strip lights[/URL] designer.
My father want to find [URL=http://chinaelectrade.com]China Electronics[/URL] supplier.
[URL=http://www.themarcjacobsha ndbags.org]Marc Jacobs Handbags[/URL] This is the one I want to
buy.
I admire the valuable information you offer in your articles. I will bookmark your blog and have my friends check up here often. I am quite sure they will learn lots of new stuff here than anybody else!
This was a useful post and I think it is rather easy to see from the other comments as well that this post is well written and useful.
Thanks for your blog, big help.
http://www.casinoonlinevip.it
http://onlinecasinorsk.blogspot.com
Nice post.Thank you for taking the time to publish this information very useful!
I’m still waiting for some interesting thoughts from your side in your next post thanks
after read your article i think i should post it in my face book
i want 2 share with my friends
do u mind if i do that??
any way many thanks for great source u provide us
regards