Posts Tagged ‘IDE’

Tweaking an FDT configuration

Posted in Flash on August 14th, 2009 by Simen – Be the first to comment

Since FDT has almost all the features of Flash Builder and Adobe really only added new features for people using their horrible Flex framework, most of the guys here at Apt are back with our old friend FDT. The stand-alone install includes all the basic plug-ins (Ant, Subversive etc.) so you’re pretty much good to go.

However even with good defaults, there are still some optimizations that can be done to make FDT even better, Riccardo Bartoli has posted a detailed article on how to configure Eclipse for optimal coding comfort, most of his tips can also be adapted to Flash Builder.

Recap on creating designed views fast & organized

Posted in Flash on April 2nd, 2009 by Pål – Be the first to comment
  1. Create the class for your view, ie. views.game.phone.StartView in FlexBuilder
  2. Open open the .psd from your favorite designer, use “Save As” and save it locally with the same name as the class. In this case views.game.phone.StartView.psd. The name wil ensure that all assets arrives in a tidy folder with correct name in your .fla library.
  3. Simplify the design elements by flattening out layers and groups in Photoshop with CTRL-E, save the file.
  4. Create the empty MovieClip in the Flash IDE with the same name, views.game.phone.StartView. Then check the “Export for ActionScript” in the Symbol Properties and the class wil automagicly set correct due to the name.
  5. Use the PSD importer in Flash, importing it into the new MC. Make shure you have the Flash IDE set up with theese settings:
    psd-import
  6. Use our “Generate locale” command to quickly generate stage instances and create localization elements for you view class. For other elements, you can use “Generate instance name declarations” after naming the instances.

Voila! In 1, 2 and 6 you have a imported view in a tidy manner with a well organized Library.

PS. As a nice finalizing touch, you can move your MC to the assets folder and renaming the folder. Deleting the “.psd Assets” from the name.
library