Robots w/Lasers

January 18, 2011

FlashDevelop IDE under Linux

POC screenshot of FD running on my Ubuntu. The Flash Player i... on TwitpicJust a quick post to note that apparantly you can now run the Flash development IDE FlashDevelop under Linux via Wine with minimal issues. This is great because IMO it’s the best free environment for writing Flash apps, and until now, it was really only usable on Windows.

Forum post with more details

Filed under: Flash,Software — davr @ 8:15 am

August 22, 2008

Simple Cellular Automata Example in AS3

To get a little more experience with ActionScript 3, I wrote up a very simple class which will take a rule number, and then generate a cellular automata based on that.

The movie below requires Flash 9 or above to be installed. Some rules to try out: 90, 30, 73, 110, 150. Valid numbers are 0-255, but not all produce interesting results.

This movie requires a newer Flash Player version

Direct link to flash movie (got some people complaining the SWFObject script doesn't work under Vista)

See Wikipedia for more info, and has a list of all 256 possible results
Here's the code:

Filed under: Flash,Software — davr @ 11:33 am

May 7, 2007

Updates for Flex Builder 2 on Linux

If you are looking to run Flex Builder 2 on Linux, see my original post.

I've made two minor updates for people using Flex Builder 2 on Linux. The first is to eliminate the annoying "Incorrect flash player have, and need" that pops up every time you run a project. To fix it:

  1. Download debugui.jar
  2. Overwrite the file eclipse/plugins/com.adobe.flexbuilder.debug.ui_2.0.155577/debugui.jar with the downloaded one

The second minor update: I've noticed some very annoying bugs in the linux flash player (all reported to Adobe now of course), but in the mean time, I've been using the windows flash player under WINE, which does not have the same bugs. If you want to do this (which will probably greatly reduce performance), all you really need is to:Watch movie online A Cure for Wellness (2017)

  1. Make sure you have WINE installed correctly
  2. Download the windows standalone projector debugger
  3. Write a wrapper script that calls wine on the windows .exe, this wrapper will then be called by flex builder. You can see my sampe script to start (it's very simple, just need to adjust for your paths/filenames).

In other news, I'm working on my first AS3 application that is above the tech-demo level! far haven't gotten much, but I've got code that compiles on both Linux Flex Builder 2, as well as Windows FlashDevelop, with no changes (yay!). You can see what I have so far, but not it's not very exciting yet.

Filed under: Flash,flex — davr @ 12:08 am

April 26, 2007

Open Source Flash FUD

Every time someone mentions open sourcing the flash player, someone always jumps up to defend Adobe (formerly Macromedia...I'll always think of Flash as a MM product). There are many good reasons why they may not want to opensource the runtime, but the fear of having multiple incompatible runtimes is not one of them.

The 'OMG incompatible versions' thing is just a bunch of FUD. If Adobe kept control of the player, there would not be any issue with this. Sure, you might have 1 or 2% of the users branching off to make their own versions, but they already do this anyway! (see gnash, also that other opensource flash player). If the official player were open sourced, then the branches would be much more compatible. Gnash lacks in a lot of areas, and only supports up to F7, imagine if they could reuse code from the official player. So you would actually gain more compatibility by opensourcing, not less!

Notes on Blair's post:

  1. Microsoft's JVM was not made by branching an open-source copy of Sun's JVM. It was made by microsoft, and they PURPOSEFULLY made it incompatible, to try and encorage platform lock-in. After the whole suit from Sun, a few years later they made their own language / platform (C# / .NET), and achieved the same goals. (Platform lockin. No, Mono is not a good substitute for 90% of apps)
  2. Microsoft's JVM did not kill Java in the browser, Java sucking is what killed Java in the browser.
  3. Sun's JVM just went GPL recently, and there hasn't been an explosion of dozens of incompatible JVMs. In fact, off the top of my head, I cannot think of a single JVM besides the official one, because that's what I always use, on windows, mac, and linux. Sure there are different versions, but the same applies to flash, and to any non-dead technology.

(Personally I do not like the GPL, it has some real problems, but that's a topic for another day)

For the case of the flash player, imagine that we still had ExpressInstall, and that it always pointed at the official Adobe upgrade site. The only people who might even possibly install an incompatible version, are the fringe users, and they would be fully aware of what they are doing. The average user who just sees 'New version of flash, click OK' would always have the official version.

I wish people would stop resorting to this argument against flash being open source. Why not just use the real ones?

  1. Adobe makes lots of money selling flash player to device manufacturers.
  2. Adobe uses expensive proprietary audio and video codes which they cannot open source.
  3. Probably a few others as well, but the above two are the main ones in my mind.
Filed under: Flash — davr @ 7:32 am

April 22, 2007

Flex Builder 2.01 under Linux

UPDATE ON THE UPDATE: Flash Builder for Linux has been CANCELLED. There just isn't a big enough Linux market for Adobe to dedicate so much effort to supporting the third platform. Eclipse is written in Java, true, but it never really lived up to the promise of "write-once run-anywhere".

Adobe will no longer be investing in the development of a version of Adobe® Flex® Builder™ or Adobe Flash® Builder™ that runs on Linux operating systems. This decision is specific to Flash Builder and does not affect other Linux activities for other Adobe products. Linux developers will still be able to use the SDK from the line command to build Flex applications.


UPDATE! Official Flex Builder 3 for Linux!!
Check it out here!

The stuff below is left here for posterity's sake...but you probably want the link above, and forget everything below...

With a bit of tweaking, I've gotten Flex Builder 2.01 working under Linux. Everything seems to work, including debugging, except for the Design view.

Here is a brief outline:

  1. Download and extract Eclipse. I used Eclipse SDK 3.2.2 NOTE: I could not get it to work when eclipse was installed in /usr. Unless you can figure it out, do not install eclipse via your OS, simply download the .tgz and extract it to your home directory.
  2. Download and extract the free Flex 2.01 SDK.
  3. Download and install the Flex Charting Components (same link as above) Run the installer by java -jar flex_charting_2_installer.jar and install it to the root of your Flex2 SDK directory.
  4. Download the Flash 9 Debugging player
    1. install the plugin into your browser by running plugin/debugger/install_flash_player_9_linux/flashplayer-installer.
    2. (as root) copy standalone/debugger/flashplayer to /usr/local/bin
    3. create a symlink for gflashplayer, (as root) ln -s /usr/local/bin/flashplayer /usr/local/bin/gflashplayer
  5. Download the FlexBuilder 2.01 Plugin for Linux (mirror)
    1. Extract this to the root eclipse install folder. It will create files in the configuration, plugins, and features directories which are already part of eclipse.
    2. Open eclipse/configuration/com.adobe.flexbuilder/flexbuilder2.xml and change the value of <sdkpath> to point to the root directory where you installed the Flex 2 SDK
  6. (OPTIONAL) Fix the annoying 'Incorrect flash player installed' popup every time you run your project:
    1. Download debugui.jar
    2. Overwrite the file eclipse/plugins/com.adobe.flexbuilder.debug.ui_2.0.155577/debugui.jar with the downloaded one
  7. (OPTIONAL) Use the windows flash player with WINE instead of native linux flash player.
    1. Make sure you have WINE installed correctly
    2. Download the windows standalone projector debugger (see link at top for player downloads)
    3. Download this flashplayer script and place in your path, as well as rename the linux player so it doesn't interfere. You probably still need the symlink to gflashplayer as above.
  8. (OPTIONAL) If you already use eclipse, it's possible it wont see the new Flex plugins. Simply run the following command to get eclipse to search for your newly installed stuff:
    1. "./eclipse -clean"

That should be it! The only problem I've had is switching to design view messes everything up. Just stay in source view and you'll be fine. Also, whenever I try to debug, it says I don't have flash 9 installed, but I just press continue, and debugging works like normal (catching traces, breakpoint on crash, etc).

Thanks to this chinese guy's post for figuring it out. He has a few more posts on the issue ([1], [2]), but I didn't seem to need any of the info in them.

Somewhat related, this post talks about other ways of using Flex 2 / AS3 under linux.

Filed under: Flash,flex — davr @ 11:14 pm

April 20, 2007

Apollo Intrinsic Classes

UPDATE: Complete & accurate versions can be found by brainy at flashdevelop forums, much better than my unfinished attempt.

I have written a quick & hacky script to parse the <a href=""apollo reference to create intrinsic classes. It is not perfect, and they still need a bit of cleanup by hand (imports, a few syntax errors here and there). But I've gotten a good 90% of the hard work done.

These would be useful for anyone using a IDE besides Flex Builder, in order to get autocomplete etc.Watch movie online The Lego Batman Movie (2017)

Please, if you do clean them up, post a comment, and I will link it here, so everyone can use them.


UPDATE: I tried again, this time by parsing the bytecodes from the SWC. There's only one problem, no paramater names (but I do have paramamter types). The cool part about this way, is that it shows all the undocumented and private methods as well!

UPDATE AGAIN: was missing some classes due to not parsing dynamic or final classes.


Filed under: Apollo,Flash — davr @ 8:01 am

April 5, 2007

Watch Movie Online Kong: Skull Island (2017)

Streaming Movie Kong: Skull Island (2017)
  • Kong: Skull Island (2017)

  • Duration
    118 mins
    Action, Adventure, Fantasy.
  • In Cinemas
    March 8, 2017
  • Country
    United States of America.
  • Watch Full Movie Online Kong: Skull Island (2017)

Plot For Kong: Skull Island

'Kong: Skull Island' is a movie genre Action, was released in March 8, 2017. Jordan Vogt-Roberts was directed this movie and starring by Tom Hiddleston. This movie tell story about Explore the mysterious and dangerous home of the king of the apes as a team of explorers ventures deep inside the treacherous, primordial island.


Jordan Vogt-Roberts.


Thomas Tull, Jon Jashni, Mary Parent, Alex Garcia.

Production Company

Warner Bros., Legendary Entertainment.

Incoming search term :

film Kong: Skull Island online, Kong: Skull Island 2017 movie, Watch Kong: Skull Island 2017 Online Putlocker, Kong: Skull Island film, live streaming movie Kong: Skull Island online, Streaming Kong: Skull Island 2017 Online Free Megashare, Watch Kong: Skull Island 2017 Online Free megashare, watch Kong: Skull Island 2017 film online now, Watch Kong: Skull Island 2017 Online Free, Watch Kong: Skull Island 2017 Online Viooz, movie Kong: Skull Island 2017, download film Kong: Skull Island 2017 now, Kong: Skull Island 2017 Watch Online, Watch Kong: Skull Island 2017 For Free online, Streaming Kong: Skull Island 2017 For Free Online, Kong: Skull Island 2017 movie download, watch full Kong: Skull Island 2017 movie, Kong: Skull Island 2017 film trailer, Watch Kong: Skull Island 2017 Online Free Putlocker, Watch Kong: Skull Island 2017 Online Free 123movie, Watch Kong: Skull Island 2017 Online Free Viooz, watch full film Kong: Skull Island, watch Kong: Skull Island 2017 movie online now, streaming film Kong: Skull Island 2017, film Kong: Skull Island 2017 online streaming, Watch Kong: Skull Island 2017 Online Free hulu, Watch Kong: Skull Island 2017 Online Free netflix, watch full Kong: Skull Island 2017 film, Watch Kong: Skull Island 2017 Online 123movie, Watch Kong: Skull Island 2017 Online 123movies, streaming Kong: Skull Island film, Watch Kong: Skull Island 2017 Online Megashare, film Kong: Skull Island, live streaming film Kong: Skull Island 2017,

Filed under: Apollo,Flash,flex — davr @ 9:27 pm

March 28, 2007

Native file browse dialog in Apollo

I haven't seen any examples on how to use the native OS browse dialogs for opening & saving files, so here's a quick example.

Basically, the idea is to use the File (which extends FileReference) class, and pretend to upload or download files from the net, but not actually perform the action, and just grab the file's path directly.

This app allows you to load a PNG or JPEG, apply a blur effect, then save it as a JPEG again. It requires the JPGEncoder from the AS3 corelib

Download BrowseExample.mxml (only works with Apollo, not in a browser etc)

Install BrowseExample.air

Filed under: Apollo,Flash — davr @ 8:26 pm

March 21, 2007

Lyric Station – Apollo App

I saw this post by Marcos P. who created an app for searching for song lyrics. I took it and added a few small enhancements:

  • Download raw lyrics instead of html -- saves bandwidth & time
  • Better layout -- I take advantage of Flex's layout capabilities to make the interface resizable
  • Partial match searching -- If a song is not found, I call out to the search page in the lyrics wiki, and then parse the results. This allows to find songs if you don't know the exact name, or miss a 'the', or to browse all songs by a certain artist

LyricStation.air -- requires the Apollo Runtime Alpha 1 in order to use. AIR file also includes the source code.

Many thanks to Marcos for giving out the source! It's a great learning experience to hack on other people's code that they've already gotten started for you.

Filed under: Apollo,Flash,flex — davr @ 9:09 pm

February 21, 2007

Actionscript3 Quickstart Reference

I put together a quick reference to getting started on writing Actionscript3 applications (which target the Flash 9 runtime), using only free tools (on Windows). Also a few handy documentation / language reference links. It's everything you need to start writing your own high-performance Flash applications, including PaperVision3D. Check it out.

Filed under: Flash — davr @ 2:52 pm
Next Page »

Powered by WordPress

Bad Behavior has blocked 776 access attempts in the last 7 days.