Language Selection

English French German Italian Portuguese Spanish

Creating Flash Animations on Linux - part 1

Filed under
HowTos

It's all well and good that Adobe did get the Flash plug-in for Firefox/Linux going, but what we don't (and perhaps will never) have is an Adobe-supported way to create Flash animations on a Linux box.

So we have Open Source work-arounds, and I'll be exploring them one at a time. After all, those of us who earn our living with a Linux machine could stand to beef up our resumes, right?

Here's a package to get started with: Get the SWFTools package. Let's check out the "brute force" method first, with "PNG2SWF".

I made a series of .png images of a simple vector star in Inkscape, saving them as "star_01.png, star_02.png" etc. When starting a sequence of pictures like this, it's best to name the files with zero-indexing; if I used "star_1, start_2", then when I got to "star_10", the file system would sort 10 between 1 and 2, which isn't what we want.

Full Story.

Creating Flash Animations on Linux - part 2

On my way to exploring the options for Flash editing on the Linux desktop, I've run into two projects which I will mention, just because they might get somewhere someday. Both of these have led to dead ends for me - for now.

F4L for "Flash for Linux" is a project to build a GUI Flash editor for Linux, similar to Adobe's own Flash tool. As far as I got with it, I managed to grab the tarball and compile it, first with "qmake" and then "make". This produces a binary which apparently doesn't care where it runs from:

Ming is a C library for generating SWF files, which also has plug-ins for PHP, Perl, Python, Ruby, and apparently (from browsing source) Tcl/tk. This project appears to be active. However, it is still in 0.4 beta, and is an adventure to download and compile (particularly the plug-in extensions).

Full Story.

Creating Flash Animations on Linux - part 3

The compiler of this handy toolkit is "swfc", and it has a sort-of manual here. I say "sort of" because it's mostly examples. The examples are plentiful, however, and there's even more here. Pretty spiffy ones, too!

The examples provide you with a good opportunity to "learn like a hacker"; just copy that beautiful open source code into your favorite editor, save it as example.sc, and compile it with:

Full Story.

Creating Flash Animations on Linux - part 4 & 5

Creating Flash Animations on Linux - part 6

Told yah I'd get back to this! It took some picking around, but I have finally grokked controlling Flash elements with Actionscript, as demonstrated here.

Partly, I owe this to checking out a library book, "Foundation Flash 5" by 'friendsoft', which did give me some enlightenment into how Flash movies are done, even with the obvious handicap.

The "obvious handicap" is that, like nearly every Flash resource guide out there, it's written exclusively with the Adobe Flash IDE in mind. That just comes with the territory with proprietary technology. Hopefully, now that Flash development on the Linux desktop is showing such progress in the last few years, we'll start seeing more FOSS-focused books in the future. At this rate, I'll be ready to write one myself!

Full Story.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

12-Way NVIDIA GeForce Comparison For F1 2015 On Linux

While the F1 2015 Formula One racing game was released for Windows last year, only yesterday was the Linux port released by Feral Interactive. Given the high requirements for F1 2015 on Linux with this OpenGL port, I decided to test this racing game on a range of NVIDIA graphics cards under Ubuntu Linux. Yep, only NVIDIA tests this round as the game doesn't work yet with the AMD Linux drivers. Read more

Wine 1.9.11

  • Wine 1.9.11 Has Direct3D 11 Improvements
    Out now is Wine 1.9.11 and its release has improvements in its Direct3D 11 support, but still it doesn't appear that Wine is ready yet for handling all the latest D3D11 AAA games. The official Wine 1.9.11 announcement mentions "various Direct3D 11 improvements" along with better support for long URLs in WinInet, down-mixing support in DirectSound, cosmetic improvements to desktop mode, and bug fixes. In total there are 21 known bug fixes for this new development release.
  • Wine Announcement
  • Wine 1.9.11 Gets Direct3D 11 Improvements, DirectSound Down-Mixing Support
    The Wine team announced the release of the eleventh milestone towards Wine 2.0, adding more improvements and fixing issues with various Windows applications and games. Release highlights of Wine 1.9.11 include several improvements to the Direct3D 11 implementation, down-mixing support in DirectSound, various enhancements to the desktop mode, as well as better support for long URLs in the WinInet component.
  • The Wine Development Release 1.9.11 Is Now Available
    The Wine team released today another development release of their software. Version 1.9.11 has many small changes including 21 bugfixes.

Using Open Source Software, Powering Potential and the Raspberry Pi Foundation Bring Technology to Schools in Tanzania

Thanks to open source, Powering Potential and the Raspberry Pi Foundation are able to bring computers and a library of digital education content to rural schools in the East African nation of Tanzania. Recently, the Foundation funded a project now distributing Raspberry Pi computers with uploaded educational content alongside portable projectors and screens to 56 schools across the Zanzibar archipelago and two mainland regions of Tanzania. The Segal Family Foundation also provided matching funds, which enables the project to give computer training as well. With a five-fold increase in the number of students in the decade following 2003, the nation is struggling to provide more schools, classrooms, teachers, desks, and textbooks. Yet whenever you visit rural secondary schools in Tanzania, you will find eager girls and boys in roughly equal numbers outfitted in uniforms with ready smiles. Read more

Java Fair Game, Millennium Bug, Open Source DNA

The top story today was the court decision in Oracle vs Google for copyright infringement. Everyone is celebrating but Oracle. In other news Phoronix.com reported today that Linus is questioning the benefits of new Y2038 patches and Bryan Lunduke said that Open Source has been in our DNA since cave painting days. The Open Source Initiative released an Open Source License API and The Document Foundation posted a video explaining The Document Liberation Project. Read more