Category Archives: ActionScript

Merb on AIR – Drag and Drop Multiple File Upload

Merb was originally created by Ezra Zygmuntowicz to avoid some Rails upload issues.

This is one of the things that Merb was written for. Rails doesn‘t allow multiple concurrent file uploads at once without blocking an entire rails backend for each file upload. Merb allows multiple file uploads at once.

I’ve built ‘multiple’ file uploaders for Rails [...]

Rails helper for SWFObject

SWFObject (formally know as FlashObject) is a javascript file that unobtrusively embeds flash in a web page. It works by replacing a holder div with Flash content, if the end user doesn’t have Flash or the targeted Flash player SWFObject will ‘fail’ silently and keep the original div. Here’s a Rails helper that let’s you [...]

Flex DateChooser select a week

My Flex DateChooser to JavaScript example didn’t solve my date selection problem entirely as the project I’m working on requires a project to have a start week rather than a start day. The Flex DateChooser has built in selectable ranges so it’s pretty easy to set that up (right click on swf to view source).

Calling JavaScript from Flex with External Interface

The Flex Ajax Bridge, which for some reason you can only download with Flex Data Services (a 150mb+ download for a 16k file), isn’t the only way to send data from Flex to JavaScript there’s also the External Interface API. I’m working on a Rails project tracker application for a construction company and need to [...]

New Google Analytics Mixes up Flash and Ajax

Just checked my sites stats and noticed that Google, the Ajax kings, have added some Flash spice to Google Analytics. Each technology handling what it does best, Flash as the presentation layer and Ajax as the data workhorse.
More on the analytics blog.
Flash/Flex has been blowing up lately, it’s faster growing book category for O’Reilly (via [...]

Connect to MySQL with ActionScript (AS3)

Matt MacLean (yet another Canadian ActionScripter, I swear ActionScript has to be in Canada’s top ten exports, right after soft-wood lumber) has created an ActionScript driver that connects to MySQL called asSQL (I wonder how you pronouce that [ass-kwuhl]?)
In Sept. 06 I set out to show someone that is was possible to connect [...]

ActionScript 2.0 Flash Remoting with Flash CS3

I installed my shiny new copy of Flash CS3 today and (after playing around with the new features) immediately was greeted with errors when compiling the Remoting project I’m working on.
The fix is to copy the needed packages from your Flash 8 install to a Classpath that Flash CS3 is looking for (best to make [...]

Q: The best way to load data in Flash? A: Flash

Well I’m not sure it’s the best way but Aral Balkan’s SWX looks pretty promising. You load SWX as you would a SWF, with loadMovie, since it’s a SWF the data is Flash native and ready to go.
Right now PHP is the only support backend but Aral is looking to add the others Python, Java, [...]

Set up eclipse to compile MXML / AS3 (quasi Flex Builder for OS X)

The release of Apollo has renewed my interest in Flex, I was on the Flex Builder Beta for OS X but don’t do enough Flex work (yet) to shell out for Builder so… I Googled around for the best open source solution.
It was my lucky day as Todd Sharp updated Darron Schall’s 2005 post about [...]

GIMPs

Apollo made it on to Slashdot the other day and was immediately lit up by the natives. I usually stay out of this stuff, but lately the level of ignorance towards all ActionScript based tools (Flash/Flex and now Apollo) is drivin’ me nuts.
For ten years I’ve listened to people crap all over Flash. Then the [...]