PureMVC Finite StateMachine

For everyone wondering how to setup a PureMVC project using the FSM plugin: I find this example project one of the easiest descriptions in the web.

FDT PureMVC Multicore Templates

I used the the templates from my colleagues on apdevblog and turned them into PureMVC Multicore -templates. I also added a template for using the AsycCommand utility and one for a Mediator extending my AbstractMediator class that maps notification names to handlermethods.
the template shortcuts start with “pmvc”. I did’t add “multicore” to it because I switched to only using the multicore. you might want to change this for your needs before you import the templates.

you can download the templates here: pmvc_as3_multicore_templates

Some musthave settings for Eclipse and FDT

This is going to be a post about some eclipse / fdt settings I figured out to be really helpful developing with fdt. You might find some more on the fdt blog

let me start with this one:

Refreshing Workspace when compiling an swc:
If you are not using the standalone version of fdt you will be missing one setting thats really helpfull using linked swc’s : the benefit of refreshing your fdt project the moment you recompile your swc file. By the Way: the standalone version being build on an old version of eclipse doesn’t really make scence to install.

activate the settings shown in the picture and your project will automatically refresh when you change something in your swc file:
Refresh Workspace

crossdomain.xml bypass

to bypass the crossdomain.xml restrictions of a site for loading images or a whole html page into your flash app you can do it with a little proxy script posted on Abdul Qabiz’s Bolg

Besser programmieren mit FDT

56 minute video on how to increase your efficiency with FDT:

http://www.galileodesign.de/techtalks/flash_flex_air?GalileoSession=19761469A4-ao4Rwg7k#flash_fdt

FDT – Compile for Flashplayer 10

you can easily compile your projects for flashplayer 10 by adding the compiler argument -target-player 10.0.0 in the run/debug settings. no use to install an external flex_sdk. here are two lists of compiler arguments i find helpfull: http://www.flexdeveloper.eu/ and http://www.senocular.com/

the whole compiler arguments in fdt would look like this:

-target-player 10.0.0 -default-size 550 400 -default-frame-rate 31 -default-background-color 0xFFFFFF -library-path {flexSDK}/frameworks/locale/en_US

FDT Standalone PHP Plugin

a couple of days ago i descidet to switch to the standalone version of fdt. well one thing that bothers me is that it has been a downgrade of my eclipse version from 3.4 to 3.3. ok i can live with that – badly. the plugins preinstalled by powerflashers make totally scence for flash/web development. one thing they didn’t include is a php editor. so what plugin to choose? i use the phpeclipse plugin and i’m totally ok with it. another option is the zend pdt plugin. well the fdt standalone is currently based on eclipse 3.3 and that version doesn’t support the newest version of pdt. another thing that looks really great is the aptana ide for eclipse. it’s not only a php editor – it’s a complete web development suite. looks like aptana could be a whole alternative to the preinstalled plugins by powerflashers so it might by obsolete to install the standalone..

FDT – AIR – ANT

recently i needed to compile a web project as an air application. my actionscript editor of choice is fdt. i use the enterprise version and i’m a big fan. but it all bacame relative as i needed to compile a project for air. the documentation found on the powerflasher website isn’t up to date and has an incorrect app-descriptor xml. the up to date problem was (almost) soved by Martijn de Visser. well that was not all to get it running. in my template i also included linked libraries/src folders. you can download the source of a working project here: fdt_airapp

about this blog

to make things short: I had a blog running a while ago but although people where interested in what i have written about the fms (Flash Media Server) blogging didn’t seem to make a lot of sence to me. anyway after a server crash with no backup the blog was gone – so I stopped blogging. personally I don’t really like stuff like blogging at least somebody has got to say something really important that maybe nowone else did before. So that’s why I started a blog again – often I have to manage problems while developing that google can’t solve in a minute for me. sometimes it takes a very long time to find the right answers and often the answer is to combine infos you get on different sites. finally i started a blog again to tell something usefull… i hope..

Return top

Soenke Kluth

is working as a freelance flash developer, book author and tutor at the beuth hochschule berlin