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

Today in Techrights

today's leftovers

Leftovers: Gaming

  • Company of Heroes 2 Might Be Coming Out For Linux
    While last year developers on the Company of Heroes 2 game said a Linux port was unlikely, recent Steam activity indicates that a Linux port is likely in the works. Company of Heroes 2 is a World War II set real-time strategy game developed by Relic Entertainment and sequel to the original Company of Heroes game. The Company of Heroes 2 title is powered by the Essence 3.0 Game Engine, which is proprietary to Relic Entertainment, uses a DirectX renderer, and designed around Windows. Company of Heroes 2 was released last summer for Microsoft Windows and is available on Steam.
  • Metro 2033 Redux Will Hopefully Hit Linux Real Soon
  • Sid Meier's Civilization: Beyond Earth for Linux No Longer Has a Release Date
    Sid Meier's Civilization: Beyond Earth, the next game in the Civilization series developed by Firaxis, no longer has a Linux launch date. When 2K Games and Firaxis announced that the upcoming Sid Meier's Civilization: Beyond Earth launch will also include a Linux version, gamers were ecstatic. This was supposed to be the silver bullet for the Linux platform, but it looks like we're going to be skipped.
  • Civilization: Beyond Earth for Mac has been postponed indefinitely
  • SteamOS Beta 133 Released
    Besides the normal security fixes, this release features a newer Linux kernel (no specifics) that boasts more network drivers and better Intel graphics performance. On top of that this release also features the Nvidia 340.32 drivers which fixes some of the white screen bugs when switching between modes.
  • SteamOS Update 133 Has Better Intel Performance, VA-API
    Valve released this morning the 133 update to the SteamOS Alchemist Beta. With this update comes new packages and other updates.
  • Crystal Picnic, A Colourful 2D RPG Released
    Crystal Picnic is a lighthearted and colourful tribute to the classic era of action RPGs! Join a sarcastic gardener and a wannabe knight as they journey across the kingdom chasing after ants who stole magic crystals from the castle. Oh, and did we mention the ants have gone mad because they're EATING those crystals? Yeah, that makes things much more unpredictable! Hours of exploration, mesmerizing platform-style combat, plenty of new friends to meet and loads of wacky enemies to encounter. When you fight chubby birds and ants carrying bazookas, you know you're in for a good time!
  • Metro 2033 Redux Shows Up in the Steam for Linux Database
    Metro 2033 Redux, a remake of the original Metro 2033 FPS released back in 2010, will be getting a Linux release on Steam for Linux. The developers from 4A Games have reworked the original title and they have introduced high resolution textures and new effects. In addition to that, they have reworked a number of gameplay aspects too. All of these have been done to get the game ready for Xbox One and PlayStation 4. They didn't ignored the PC, and Steam users will also be able to enjoy the game in a new coat.
  • Team Fortress 2 Receives Update with Important Balancing Changes

Linux on the desktop isn't dead

At LinuxCon this year, the creator of Linux, Linus Torvalds, was asked what he wanted for Linux. His response? "The desktop." For years, the call to Linux action was "World Domination." In certain markets, this has happened (think Linux helping to power Android and Chrome OS). On the desktop, however, Linux still has a long, long way to go. Wait... that came out wrong. I don't mean "Linux has a long, long way to go before it's ready for the desktop." What I meant to say is something more akin to "Linux is, in fact, desktop ready... it just hasn't found an inroad to the average consumer desktop." Read more