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

I Switched (Back) Over To Fedora As My Main OS & It's Going Great!

Before this long stint with Ubuntu on my main system, I was using Fedora (Core) and before that was openSUSE, Mandrake, and others. I stopped using Fedora (Core) due to some of the releases being less reliable than others with at the time less of a focus on shipping quality releases and at times just feeling like a dirty testing ground for RHEL. With being very pleased with Fedora 20 and Fedora 21 on the many test systems around the office, I decided to give Fedora another go on my main system. I've also been very interested in Fedora.Next and how Fedora 22 is shaping up. Fedora these days seems to be back on a solid footing for end-users with a bright future ahead; Fedora 22 might even ship on time for a change while not sacrificing quality! Fedora 21 brings back a lot of good memories for me of the early Fedora days. Read more

Elementary Extensions for Python-EFL

For those who are unaware the Enlightenment Foundation Libraries and Elementary are the tools that power the Enlightenment desktop and a growing number of other applications. To learn more about getting started with Elementary and python you should check out the full API reference here, the examples on git, or stop by #e.py on Freenode. I have been working on a number of small applications using Elementary. While building these applications I found myself reusing a few of the same gadgets in different places, so I had the idea others might find some of them useful as well. Read more

‘Enterprise customers are now more willing to implement open source’

Jim Whitehurst expects India to play a larger role in NYSE-listed Red Hat’s global strategy, thanks to the rapid pace of infrastructure creation. “When a new system’s put into place, it’s increasingly likely that it may be built on open source. We like places where there is a lot of infrastructure going in,” Whitehurst, President and Chief Executive Officer, Red Hat, said. Red Hat is the world’s largest commercial distributor of the open source-based Linux operating system. Open source denotes software for which the original source code is made freely available and may be redistributed and modified. In an interaction with BusinessLine, Whitehurst throws light on the opportunities in the Indian marketplace for open source. He also explains why the company is keen to increasingly move more support functions to India. Read more

The Navy's Newest Linux-Powered Command Center Is Right Out Of Star Trek

The DDG-1000 Zumwalt Class Destroyer could very well revolutionize the way the Navy does its surface warfare business. One of its biggest innovations is ditching the cramped, darkly lit Combat Information Center (CIC), a fixture for many decades on past USN combat ships, and replacing it with the state-of-the-art, spacious, Star Trek bridge-like Ship's Mission Center. Read more