PDA

View Full Version : SWIFT - Open Source Alternative to Adobe Flash



skykooler
March 31st, 2011, 03:09 AM
I was rather disappointed to learn that there wasn't an open-source alternative to Adobe Flash like there is GIMP for Photoshop. So, I decided to create one myself. It is currently in heavy development, but I intend to release the beta soon. It uses swfc for compiling, and Python/Cairo for almost everything else.
Currently implemented features:

Export programmed SWF content.
Export programmed HTML5 content. I have written an Actionscript wrapper in JavaScript, so there is no need to re-write code.
Animated objects (currently only motion tweens)
Buttons
Export Images (currently only PNG)
Export Animated GIFs
Export Video: support for all ffmpeg-supported codecs, which is quite a lot!
Export PDF
Import images (currently only PNG)
Support for dynamic plugins (using external Python modules)


And a screenshot:

ChipOManiac
March 31st, 2011, 03:30 AM
Sweet man! Great job trying to get something like this up and running... :)

rg4w
March 31st, 2011, 05:24 AM
Looks really nice. Got a donation page? Looks like a project well worth encouraging.

skykooler
March 31st, 2011, 10:51 PM
UPDATE: I have now got movie clips (sprites) working!

skykooler
April 2nd, 2011, 07:34 AM
Update: I have now got miscellaneous shapes drawing properly, and added rotation support. I intend to release the beta within the next few days.

hakermania
April 2nd, 2011, 09:20 PM
Nice! Keep it up!

Malcy
April 2nd, 2011, 09:29 PM
Cool, I will be watching your progress with interest. :)

Telengard C64
April 2nd, 2011, 09:31 PM
What about your project makes it different from or better than gnash (http://www.gnashdev.org/)?

skykooler
April 2nd, 2011, 09:45 PM
What about your project makes it different from or better than gnash (http://www.gnashdev.org/)?

I believe you may misunderstand me. Adobe makes two SWF related tools: Adobe Flash and Adobe Flash Player. Flash is used to create the content; Flash Player is used to play the content. Gnash is an alternative to Flash Player, while Swift is an alternative to Flash.
Swift actually uses Gnash for playback of SWFs, as it logs trace messages (which the Flash Player browser plugin does not).

Telengard C64
April 3rd, 2011, 05:15 AM
Thanks for clearing me up on that :)

JanuaryJones
April 4th, 2011, 10:27 PM
Great! We really need a good alternative to Adobe Flash!

skykooler
May 29th, 2011, 04:16 AM
I have made a blog. http://swift-swf.blogspot.com

I will post progress updates here.

skykooler
October 9th, 2011, 09:20 AM
I have finally released the alpha! Testers wanted. Please note that many key functions are still in development; in particular the drawing tools are not working (besides rectangles). However, this still allows for animation via image-based sprites.

Download from here: https://launchpad.net/~skykooler/+archive/swift-swf

Also, I have a donate button on my blog (http://swift-swf.blogspot.com/) if you like where this is going.

hakermania
October 9th, 2011, 09:53 AM
I have finally released the alpha! Testers wanted. Please note that many key functions are still in development; in particular the drawing tools are not working (besides rectangles). However, this still allows for animation via image-based sprites.

Download from here: https://launchpad.net/~skykooler/+archive/swift-swf (https://launchpad.net/%7Eskykooler/+archive/swift-swf)

Also, I have a donate button on my blog (http://swift-swf.blogspot.com/) if you like where this is going.

Hey, great work, keep it up. Just you need to make it look very professional and so you need to be a bit typical and careful. For example, I just noticed a typo in launchpad:

(currently vey basic)
haven\'t
Also, you mention that you don't know how to add these (the gnash etc) as Dependencies to the program. Well, this is being done through the 'debian/control' file in the 'Depends' field. An example is: http://paste.ubuntu.com/704783/

Good luck.

skykooler
October 9th, 2011, 06:47 PM
Hey, great work, keep it up. Just you need to make it look very professional and so you need to be a bit typical and careful. For example, I just noticed a typo in launchpad:

(currently vey basic)
haven\'t
Also, you mention that you don't know how to add these (the gnash etc) as Dependencies to the program. Well, this is being done through the 'debian/control' file in the 'Depends' field. An example is: http://paste.ubuntu.com/704783/

Good luck.

Thank you. I haven't updated the Launchpad description in a while; I actually do have those as dependencies now.

t3h m00kz
October 11th, 2011, 04:22 AM
When I run the .deb file, I get this:


Error: Dependency is not satisfiable: swftools

I'm a nub at linux. Any ideas?

skykooler
October 11th, 2011, 02:19 PM
When I run the .deb file, I get this:


Error: Dependency is not satisfiable: swftools

I'm a nub at linux. Any ideas?

If it complains that swftools isn't in the repository, download my package from here: i386 (https://launchpad.net/~skykooler/+archive/swift-swf/+files/swftools_1.0-1_i386.deb) or amd64 (https://launchpad.net/~skykooler/+archive/swift-swf/+files/swftools_1.0-1_amd64.deb).

skykooler
October 12th, 2011, 09:27 PM
Update: SWIFT is now cross-platform, more or less. I have got it to run on both Windows and Mac, and to compile SWFs on Mac, but I haven't got either of them to play them back yet. That will come though.
Has anybody tested it yet? I know it is mostly bugs right now, but I can't find all of them myself.