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's howtos

icons and Themes: Vamox , Ashes, and DamaDamas

  • Vamox Icons Offers Three Color Variants for Linux Desktop
    Vamox icons were designed as a university thesis project by Emiliano Luciani and Darío Badagnani in 2008. The objective was to design a interface of a distro that the university could use for learning about design thin free software, From start these icons were developed for Ubuntu. Now these icons has three variants blue, orange and red, which are compatible with most of the Linux desktop environments such as: Gnome, Unity, Cinnamon, Mate, Xfce and so on. We have added these icons to our PPA for Ubuntu/Linux Mint and other related distributions, If you are using distribution other than Ubuntu/Linux Mint/its derivatives then download icons and install it in one of these "~/.icons" or "/usr/share/icons/" location. If you find any missing icons or problem with this icon set then report it to creator via linked page and hopefully it will get fixed soon.
  • Ashes Is A Light Theme For Your Linux Desktop
    Ashes theme is based on Adapta and Flat-Plat theme but it includes the mixture of blue and pink color scheme with gray search entity. Usually derived themes always try to make better and enhanced version by the person who forked it, to make desktop much perfect and elegant, same thing goes for this theme, it looks and feels great on almost every desktop. Mainly it is designed to work in Unity and Gnome desktop but it can also work in other desktops such as Cinnamon, Mate, and so on. For the Gnome desktop creator have added the dark title-bar/header-bar support, so you can enable Global-Dark-Theme using Gnome-Tweak-Tool, if you prefer dark title-bars. If you are using distribution other than Ubuntu/Linux Mint/its derivatives then download theme from here and install it "~/.themes" or "/usr/share/themes/" location. If you find any kind of bug or issue within this theme then report it to creator and since this theme is in active development hopefully it will be fixed soon.
  • DamaDamas Icons Looks Great And At The Same Time Give Windows Flavor
    If you have been searching for Windows icons for your Linux desktop then you are at the right place. The DamaDamas icons are from Pisi GNU/Linux and available for every Linux distribution, these icons give Windows look and feel to your desktop. There isn't much information available for these icons but the icons are SVG format and there are almost 4000+ icons packed in very fairly sized archive. We have added these icons to our PPA and these icons are compatible with almost every desktop environment such as: Gnome, Unity, Cinnamon, Xfce, Mate, KDE Plasma and so on. If you find any missing icons or problem with this icon set then report it to creator via linked page and hopefully it will get fixed soon.

Ubuntu MATE 17.10 Alpha 2, Solus 3, OpenMandriva Lx 3.02, and More

KDE: QtWebEngine on FreeBSD, KDE PIM, Akademy 2017, Craft, Accessibility, Comics Manager for Krita, Progress on Kube

  • QtWebEngine on FreeBSD
    Tobias and Raphael pushed the button today to push QtWebEngine into FreeBSD ports. This has been a monumental effort, because the codebase is just .. ugh. Not meant for third-party consumption, let’s say. There are 76 patches needed to get it to compile at all. Lots of annoying changes to make, like explaining that pkg-config is not a Linux-only technology. Nor is NSS, or Mesa, while #include is, in fact, Linux-only. Lots of patches can be shared with the Chromium browser, but it’s a terrible time-sink nonetheless.
  •  
  • KDE PIM in Randa 2017
    Randa Meetings is an annual meeting of KDE developers in a small village in Swiss Alps. The Randa Meetings is the most productive event I ever attended (since there’s nothing much else to do but hack from morning until night and eat Mario’s chocolate :-)) and it’s very focused – this year main topic is making KDE more accessible. Several KDE PIM developers will be present as well – and while we will certainly want to hear other’s input regarding accessibility of Kontact, our main goal in Randa will be to port away from KDateTime (the KDE4 way of handling date and time in software) to QDateTime (the Qt way of handling date and time). This does not sound very interesting, but it’s a very important step for us, as afterward, we will finally be free of all legacy KDE4 code. It is no simple task, but we are confident we can finish the port during the hackfest. If everything goes smoothly, we might even have time for some more cool improvements and fixes in Kontact ;-)
  • Services Collaborating Openly at Akademy 2017
    At the recently concluded Akademy 2017 in the incredibly hot but lovely Almería, yours truly went and did something a little silly: Submitted both a talk (which got accepted) and hosted a BoF, both about Open Collaboration Services, and the software stack which KDE builds to support that API in the software we produce. The whole thing was amazing. A great deal of work, very tiring, but all 'round amazing. I even managed to find time to hack a little bit on Calligra Gemini, which was really nice. This blog entry collects the results from the presentation and the BoF. I realise this is quite long, but i hope that you stick with it. In the BoF rundown, i have highlighted the specific results, so hopefully you'll be able to skim-and-detail-read your specific interest areas ;)
  • Akademy 2017 - A wonderful experience
    Akademy 2017 was such a great experience, that I would love to share with you all in this post.
  • Akademy 2017 - Recap
    Last month I had opportunity to visit the Almería, Spain for Akademy 2017. Akademy 2017 is KDE’s annual world summit. Akademy makes it possible to meet the felow KDE contributors, some of whom you only know with their IRC nicknames (Yes, I am not old enough to know every contributors yet :p). Here is few things I did at the Akademy 2017.
  • My Adventures on Crafting part III – Craft Atelier
    Once upon a time, I start o use Craft, an amazing tool inside KDE that does almost all the hard work to compile KDE Applications on Windows and MacOS. Thanks to the great work of Hannah since last year Randa Meetings, Craft is becoming a great tool. Using all the power of Python, I started to be able to work on the deploy of AtCore for Windows.
  • Why YOU care about accessibility, and can help!
    Accessibility (a11y for short) seems like a niche area of concern for many people. I was thinking about this recently on a hot morning in Spain, walking to the bus station with my wheeled luggage. The sidewalks are thoughtfully cut out for wheelchairs -- and those with luggage! and the kids riding skateboards, and...... the rest of us.
  • Writing a comics manager for Krita
    Those who know me, or at the least know my history with Krita is that one of the prime things I personally want to use Krita for is making comics. So back in the day one of the things I did was make a big forum post discussing the different parts of making a comic and how different software solves it. One of the things about making a comic is that is a project. Meaning, it is big and unwieldy, with multiple files and multiple disciplines. You need to be able to write, to draw, to ink, to color. And you need to be able to do this consistently.
  • Progress on Kube
    We’ve been mostly focusing on ironing out UX problems all over the place. It turns out, when writing desktop applications using QtQuick you’ll be ending up with a lot of details to figure out for yourself.