General

Mobile Development with Flash and Flex

07.07.11 | Written by: Scott | Permalink |
Scott

I was tasked with researching mobile development using Flash and Flex the day before the 4.5.1 update for FB and the Flex SDK was released.  Mobile development has been available since the 4.5 update (the release of CS 5.5), but that release had some limits with respect to the use of the Flex framework for mobile (Compatibility Matrix for Mobile).  Exciting times to be had for Flash and Flex developers.

If developing with the Flex framework for mobile, there are some restrictions as to what components can/should be used (Restrictions on using Spark and MX components in a mobile application).  You can see there are actually new components which were created specifically for mobile.  Those components are on the first row of the component table.  Also check out Optimize Skinning Basics.

If you are looking to build for iOS devices, then you may want to have a look at the first video on this page.  At about 3 minutes in Serge talks about how to get the certificates from the iOS developer website.  For more information on this check out Adobe’s site on iOS certificates.  Also check out this blog entry on How to build your Flex app for iOS with AIR 2.6 which shows you step by step what you need to do.

When trying to connect and run my mobile app on some Android devices such as my Android phone and Galaxy Tab (Connect Google Android devices), I had the same problem described here.  Unfortunately following Brent’s steps to fix the issue did not work for me.  I had to download the device drivers for each specific device and install them on the computer which the device is connected to.  Once I installed the device drivers I was able to run my app on all my Android devices.

Tags: , ,

General

Singleton Template

05.24.11 | Written by: Scott | Permalink |
Scott

A simple design pattern I utilize often is the Singleton Design Pattern.  There is a descent amount of code needed to generate a proper singleton class in ActionScript.  I’ve created a nice template for FDT which will help to quickly create a Singleton class for AS 3.0.

singleton_template

Tags: , ,

General

Truncating Spark Labels

05.11.11 | Written by: Scott | Permalink |
Scott

This was a little tricky to figure out.  I needed to make a Spark Label truncate the text if it exceeded the given bounds of the Label.  But on the documentation for the Label there is only a few mentions of the word truncate in the description of the class.  It tells you: (more…)

Tags:

General

FDT Templates for PureMVC, Spark, and ASDocs

04.10.11 | Written by: Scott | Permalink |
Scott

FDT is an awesome development tool to code Flash and Flex projects.  I love the ability to create custom templates.  I’ve recently been updating some old templates which I created for PureMVC a while ago.  Over time I have added new templates for classes which I now regularly use such as (more…)

Tags: , , , ,

General

ASDoc Gotchas

01.05.11 | Written by: Scott | Permalink |
Scott

I’ve recently been trying to create an Ant script to generate ASDoc style documentation for some shared common code libraries.  I’ve run into a number of  issues and it was hard to find any good documentation or blog posts to help me solve my problems.  So I am going to cover some of the issues I had and provide some example code of the Ant script I ended up using to get my ASDoc generation to work.

(more…)

Tags: ,

General

Quote of the day

12.20.10 | Written by: Scott | Permalink |
Scott

While looking through some blogs, I ran across one with what I feel is a good quote: (more…)

General

Molehill

10.26.10 | Written by: Scott | Permalink |
Scott

All I can say is WOW!!!!

http://labs.adobe.com/technologies/flash/molehill/

Tags:

General

RSLs on by default in Flex 4

07.23.10 | Written by: Scott | Permalink |
Scott

I just wanted to post about this so I don’t forget.  I noticed that every time I opened a swf created using the Flex4 SDK, I would get a bunch of errors:

Error #2032: Stream Error. URL: file:///C:/home/projects/blah/textLayout_1.1.0.604.swf (more…)

Tags:

General

SourceMate

07.08.10 | Written by: Scott | Permalink |
Scott

I was checking out some of the features on the Flash Builder plug-in SourceMate. Many of the features already exist in FDT (no surprise). But SourceMate takes some of those features and does it a little better. And then there are some features in SourceMate which would be an awesome addition to FDT.  I am curious (more…)

General

Making AIR

06.23.10 | Written by: Scott | Permalink |
Scott

So I wanted to delve into the world of making an AIR application.  From what I have heard, it’s almost as easy as making a Flex application.  But getting things set up wasn’t as easy as I had hoped.  I spent quite some time searching around the internets trying to find answers to many problems I had.  Fortunately (more…)

Tags: ,
« Previous Entries