rss twitter

Using Flex 4.5 (Hero) with FDT 4.1

Just a quick note, which might become handy for you as well. When using Adobe's latest Flex SDK, Codename "Hero" in FDT, you need to keep in mind two things.

First of all: Download FDT 4.1 Beta, which fixed a bug concerning some NullPointerExceptions. So if you have ever come across messages like these:

JAVA:
  1. at com.powerflasher.fdt.core.internal.launch.compile.concrete.CompilerLoaderExtensionPoint.getFactoryFor(CompilerLoaderExtensionPoint.java:68)

Go for an FDT 4.1 Beta Update!

Read more »

seperator

Compile AIR to native .dmg or .exe files with ANT

An upcoming question in publish- & packaging AIR files is "How to convert them to a .dmg or .exe file?" Easily enough, you do not have to do anything else except using a slightly different ANT build task for it. Instead of passing:

XML:
  1. <arg value="${publish_dir}/${air_file}" />
  2. <arg value="${app_descriptor}" />

to the ADT you use:

XML:
  1. <arg value="-target"/>
  2. <arg value="native"/>
  3. <arg value="${publish_dir}/MyApp.dmg" />
  4. <arg value="${app_descriptor}" />

Read more »

seperator

Add Linked Resources (as a src folder) to ANT builds

Here's another quick snippet to add Linked Resources to a compile process built with ANT. You know, you can link a whole directory to be a "Linked Library" in FDT, e.g. Greensock's TweenLite. Doing so means that you cannot use the -library-path argument as it only work with .swc files. Instead of this use -source-path to successfully add a whole directory to be compiled into your SWF.

XML:
  1. <arg value="-source-path=/Users/marvin/libs/greensock-as3" />

This way you can use it in an AIR build as well and you do not have to replace your directory based libraries with SWC files.

seperator

Chromeless AIR Applications – A Designer’s Look

Hey,
first of all - some of you may have noticed this is the third AIR related article in two days. I'm very excited at the moment due to the fact I can finally compile them with FDT4. Anyways, I want to store my process and failures, hints and tips to always know where I myself and you of course can find them. So this article now comes a bit more from the designer in me, as it's about chromeless designs. They can be awesome if well thought - and they can be a bit frustrating when setting up the first time. I quickly talk about the following:

  • Scaling ain't good, no no
  • My misunderstanding of window sizes
  • systemChrome and transparent values

Read more »

seperator

Using SWCs within AIR packaging with ANT

In addition to AIR2 and FDT4 (M3) – A detailed Walkthrough I encountered a problem when trying to use external SWCs like e.g. an assets library in your AIR package. In other words: If you're using an SWC with all your graphical stuff exported from the Flash IDE you simply rightclick it in FDT and add it to your Source path to use it in your project. This works fine in a compiled SWF but if you want to launch your project in an AIR environment it will not find the library. And I really had a look for this ("Class not found!") errors after packaging for hours but didn't find anything except an ooold AIR project by a friend of mine who used the following argument in his "Compile SWF" task:

XML:
  1. <arg value="-library-path=${assets_dir}/lib/assets.swc" />

Et voilá, from then on my exported AppBg asset worked flawlessly in the ADL and packaged .air file:

Actionscript:
  1. var back:AppBg = new AppBg();

Now we're ready to take the next step: A real AIR application with chromeless layout, asset-using and some communications..

seperator

AIR2 and FDT4 (M4) – A detailed Walkthrough with ANT

Hello,
someone might remember an older post on Beautify Code which has shown how to successfully create an AIR application certificate, publish the project and then package it to an .air file, which can be installed and run. Now here's the 2010 update, working with AIR2 and FDT4 (using an ANT-Build) and some major changes.

Read more »

seperator

www.WeLoveFDT.com | An FDT Community Feed

Hi,
I'm very happy to announce that www.WeLoveFDT.com has just been launched!

Powerflasher just wrote the following:

Recently a new community-project has been launched which combines most of the active FDT blogs like Aiden Tailor, Matan Uberstein, Marvin Blase, Francis Varga, Alan Klement and many others. WeLoveFDT fetches their feeds, filters them for FDT related articles and teasers them on www.WeLoveFDT.com. This way it provides a continously updated summary based on everything that deals with FDT in the blogsphere, so users can quickly access related news, poke around or search for a specific topic without having to fight with Google keywords.

The idea came up as more and more great articles about FDT were published and some days after people started asking where to find this and that again and who had written it - as they remembered the topic but not the blog itself. So Marvin Blase thought of how to summarize these articles without disregarding the blogs itself but to provide a self-refreshing, community based feed. With great help of Fabian Beiner this idea was quickly realised and a first version was able to launch. The idea behind this might be transferred to other topics as well - there already popped up a request for doing the same with Robotlegs or the like.

If you are blogging about FDT from time to time feel free to sign up at their “Take part” section to enlarge the pool of which articles are gathered. The more the better!

Please take a look by yourself and follow @WeFollowFDT if you like to!

seperator

Automatically select all Text on Focus

Hi, I've just tried to get the following to work:
There's a dynamic textfield on stage which holds some text. I wanted to achieve a "Select all the text as soon as the user (single-)clicks on it" - this surely is a bit unorthodox, but there was a reason for that. At first I didn't think of any problems that could occur, but as usual I was surprised by Flash again.

So whoever on this earth comes to this situation - you're not alone. Just read on..

Read more »

seperator

#Poll How do you compile & package AIR apps?

Just a really quick post. If you've got 10 seconds of time please take part on this poll:
How do you compile & package AIR apps?

I'm trying to figure out different workflows at the moment.. :)

Read more »

seperator

SWF Compile META Tags

As the latest FDT version ( Beta 4 ) does not set compiler arguments concerning SWF-size, framerate etc. by default I started using SWF-Metatags to specify these settings.

Read more »

seperator
Powered by WordPress | Free T-Mobile Phones for Sale | Thanks to Palm Pre Blog, Video Game Music and Get Six Pack Abs