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

Linux and Graphics

  • Linux Kernel 4.10 Now Available for Linux Lite Users, Here's How to Install It
    Minutes after the release of Linux kernel 4.10 last evening, Jerry Bezencon from the Linux Lite project announced that users of the Ubuntu-based distribution can now install it on their machines. Linux 4.10 is now the most advanced kernel branch for all Linux-based operating systems, and brings many exciting new features like virtual GPU support, better writeback management, eBPF hooks for cgroups, as well as Intel Cache Allocation Technology support for the L2/L3 caches of Intel processors.
  • Wacom's Intuos Pro To Be Supported By The Linux 4.11 Kernel
    Jiri Kosina submitted the HID updates today for the Linux 4.11 kernel cycle.
  • Mesa 13.0.5 Released for Linux Gamers with over 70 Improvements, Bug Fixes
    We reported the other day that Mesa 13.0.5 3D Graphics Library will be released this week, and it looks like Collabora's Emil Velikov announced it earlier this morning for all Linux gamers. Mesa 13.0.5 is a maintenance update to the Mesa 13.0 stable series of the open source graphics stack used by default in numerous, if not all GNU/Linux distributions, providing gamers with powerful drivers for their AMD Radeon, Nvidia, and Intel GPUs. It comes approximately three weeks after the Mesa 13.0.4 update.
  • mesa 13.0.5

Interview: Thomas Weissel Installing Plasma in Austrian Schools

With Plasma 5 having reached maturity for widespread use we are starting to see rollouts of it in large environments. Dot News interviewed the admin behind one such rollout in Austrian schools. Read more

today's leftovers

  • Top Lightweight Linux Distributions To Try In 2017
    Today I am going to discuss the top lightweight Linux distros you can try this year on your computer. Although you got yourself a prettyLinuxle linux already but there is always something new to try in Linux. Remember I recommend to try this distros in virtualbox firstly or with the live boot before messing with your system. All distro that I will mention here will be new and somewhat differ from regular distros.
  • [ANNOUNCE] linux-4.10-ck1 / MuQSS CPU scheduler 0.152
  • MSAA Compression Support For Intel's ANV Vulkan Driver
    Intel developer Jason Ekstrand posted a patch over the weekend for enabling MSAA compression support within the ANV Vulkan driver.
  • Highlights of YaST development sprint 31
    As we announced in the previous report, our 31th Scrum sprint was slightly shorter than the usual ones. But you would never say so looking to this blog post. We have a lot of things to talk you about!
  • Comparing Mobile Subscriber Data Across Different Sources - How accurate is the TomiAhonen Almanac every year?
    You’ll see that last spring I felt the world had 7.6 Billion total mobile subscriptions when machine-to-machine (M2M) connections are included. I felt the world had 7.2 Billion total subscriptions when excluding M2M and just counting those in use by humans. And the most relevant number (bottom line) is the ‘unique’ mobile users, which I felt was an even 5.0 Billion humans in 2015. The chart also has the total handsets-in-use statistic which I felt was 5.6 Billion at the end of 2015. Note that I was literally the first person to report on the distinction of the unique user count vs total subscriptions and I have been urging, nearly begging for the big industry giants to also measure that number. They are slowly joining in that count. Similarly to M2M, we also are now starting to see others report M2M counts. I have yet to see a major mobile statistical provider give a global count of devices in use. That will hopefully come also, soon. But lets examine these three numbers that we now do have other sources, a year later, to see did I know what I was doing.

Leftovers: Gaming