Matthew Wallace

Software Developer
 

Getting started with Parsley - Part 2

Second part on the basics of using the parsley MVC frame work for actionscript 3 and flex projects. In this lesson we learn how to create and action, get some data and update the view.

 

Getting started with Parsley - Part 1

Parsley is an MVC framework for Actionscript 3 and Flex projects. It uses dependency injection very much like Robotlegs. In this first video I show you how to get things set up.

 

Starling Framework with Box2d SWC - (Temp FDT bug fix)

Starling Framework with Box2d SWC

If you are using FDT and you are running into issues using the new starling-framework source code then the fix (by John Olson) was to create a Flex Library Project in Flash Builder and export a swc that has all the source from starling in it. I tested this out and sure enough it works.

I prefer swcs in my projects when using frameworks anyway so I packaged up starling and box2d into a swc and you can download it for your convenience. Enjoy!

Github Link:

FDT displays errors on some Class definitions and imports in the framework.
Also in the AGALMiniAssembler.as are some errors, saying "File could not be parsed.", "Unexpected Token" or "Found 'true' but newline or semicolon was expected"

Especially the semicolon shoun't display an error, because it is not a duty to use them. Instead FDT should display a warning

In the Framwork itself FDT can't handle Class definitions with pre package names properly,
e.g. flash.display.Stage in line 144, starling.core.Starling class

see:

Media_httpdldropboxco_fggqm

 

Using fl.controls.* with FDT (and Flash CS5.5)

by troy on January 4, 2008

I Recently upgraded to FDT 3.0 Professional...I highly recommend if you're doing heavy actionscript projects. It's pricey, but will pay for itself quickly.

Using fl.controls with the syntax checking took a bit of research. Turns out you have to follow the steps as

  • Create a new FLA, name it CS3Controls
  • drag all the components you need into the Library
  • In File> Publish Settings > Flash > checkmark "Export SWC"
  • publish it
  • copy the CS3Controls.swc to someplace you'll remember (e.g. a common classpath or whatever app that uses them's lib folder)
  • - Now in FDT, add your SWC to your project, and in the Flash Explorer panel, right-click and add that SWC file to your classpath
  • once that swc is visible in the FDT Flash Explorer, right click over it. "Source Folder">"Add to Classpath"
  • after a moment you will see it above the packages, if successful, clicking the plus will show you all the classes inside it...very cool FDT team!
  • in your AS class just proceed as normal eg.: <code> import fl.controls.*</code>

found this cool little tip and it worked great

 

Eclipse syntax color themes for FDT

If you haven't looked for this lately you are going to be really happy to see this eclipse plugin. For at least a couple of years I was hoping someone would build a plugin for managing themes in eclipse. We all tend to not like the default no matter what language you program in. The process be for was going into the Appearance tab in Eclipse and changing the color settings to reflect the needs you have, export preferences and then import every time you switch work spaces.

Well check out eclipsecolorthemes.org. This plugin adds a section under the Appearance menu in Preferences. You can brows the site and search for popular themes. My fav in TextMate has always been Twilight so I did a search and found one that was perfect, downloaded the theme and imported it with no issue. 

Twilight

 

FDT supported on Linux

FDT officially supported on Linux now!

December 14th, 2010 by aklement

After big demand, the FDT team is happy to announce to take the FDT Linux version out of our Labs and make Linux an equal first class citizen as the OSX and Windows Operating System.

Linux is a growing platform and more and more developers are now switching to it as their preferred environment. Currently, Linux doesn’t have a robust IDE focused primarily to Flash/Flex developers. We hope FDT can fulfill this gap and deliver Coding Comfort to Linux developers as well.

Check out FDT 4.1 Release Notes

Installation instructions:

FDT for Linux is distributed as an Eclipse plugin. To get started, register here to get your 30 days trial key and follow the plug-in install instructions on this tutorial.

Feedback:

Your contribution and feedback are very important to us. We encourage everyone to submit any feature request, improvements or bugs on bugs.powerflasher.com

Happy Coding!

The FDT Team

 

Intro to PureMVC Talk for Dublin Flash UG

This is my talk that I gave to the Dublin Flash UG. If you have been looking for a practical intro to PureMVC then take the time to watch and shoot me any questions in the comments below. The screencast looks great if you take it fullscreen mode.

Also you will notice that I am using FDT 4 and I go over some of the shortcuts that it provides to allow for faster coding in my projects.

 

PureMVC - sneak peek on Vimeo

There is a presentation that I give from time to time. "PureMVC - It isn't that scary", is the title of the talk. I do go more in depth on the different classes you use within the PureMVC project but in this sneak peek I walk you though quickly how to do a simple hello world app using the PureMVC framework.

On top of that I show you some handy shortcuts and tips if you are an FDT user. It really speeds up the process and allows you to quickly create the classes and code that is needed.

I will be giving a live talk to the Dublin Flash UG this week so if you can make it please do. More info here.

side note .... I say the web address to my site incorrectly in the video. Oh well. You get the point anyway. 

 

 

Awesome Flex support in your IDE

It's no secret that I am huge fan of FDT. Today FDT 4 drops. One of the things that kept me from using it so much in the past was the lack of Flex support. You could code flex projects but there was always a bit of clean up to do hear and there to get it to work just right.

The new support in FDT 4 is awesome. You will find yourself thinking, "this is how it should be", when you are coding your projects. Check out the demo below and give it a try today. They have a free trial, and if you are a professional Flex or Flash developer, I promise you will love this IDE.

Additional Flex Support

Flex support was improved dramatically, it includes FXG, Flex 4 States and the new MXML 2009 language tags now. We added Flex 4 support for the Debugger, Organize Imports, Quickfixes, Formatter and Toggle Comment in MXML.

 

 

Sneak peek at new Flash Builder features

Sneak peek at some new features coming in Flash Builder, but if you are using FDT you already have these features. Just say'n, but it's cool that they are trying to make Flash Builder better.