App used to work with AIR 3.2 or 3.4, doesn’t work with AIR 3.5 or 3.6

AIR 3.5 and 3.6 SDK for mobile require TLF Text to be merged into code.

Because I just spent the last full day dealing with this issue (without finding an answer on any forum) I thought I would share this so that you don’t have to bang your head against the wall. You probably found this page because your mobile project worked in AIR 3.2 or AIR 3.4 but when you try to publish your iPhone app or Android app using AIR 3.5 or AIR 3.6 SDK it  breaks.

This is the full error that I was getting when trying to publish from Flash CS6 using AIR 3.6:

Warning: Ignoring ‘secure’ attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml. The ‘secure’ attribute is only permitted in HTTPS and socket policy files. See http://www.adobe.com/go/strict_policy_files for details.

TypeError: Error #1009: Cannot access a property or method of a null object reference. at startMeUp/firstRunAnim()[/Users/speedclimb/Documents/cjm/Flash/Mobile/MobileDev/STARTME/startMeUp.as:229] at startMeUp()[/Users/speedclimb/Documents/cjm/Flash/Mobile/MobileDev/STARTME/startMeUp.as:210]

Neither of these AS3 Warnings/ Errors make sense nor have any info to point you to a resolution. Don’t try and troubleshoot AS3 Error 1009 The problem is that Apple now requires that all of this is embedded. Adobe complied with the changes from Apple and because of this when creating a mobile app using AIR 3.5 SDK or AIR 3.6 SDK with TLF Text you must have the .swc “Merged into code”.

Solution:

In order to compile with AIR 3.5 or 3.6 SDK you have to do one of two things. You can change all of your TLF Text into “Classic” text. This works but is not ideal because then you lose all of the great formatting features of TLF Text. The better solution is that you change the “Default Linkage” in your ActionScript settings to “Merged into code”. Sounds complicated but it’s not. Go to File >> ActionScript Settings, when the dialog window pops up make sure you are on the “Library Path” tab and then change the drop down from “Runtime Shared Library” to “Merged into code”. Below is a screenshot showing how to solve this AIR 3.5+ SDK compiler issue. The important areas are highlighted in red.

Change the Default linkage from "Runtime shared library" to "Merged into code"

Change the Default linkage from “Runtime shared library (RSL)” to “Merged into code”

I hope this saves you 16 hours of brain damage trying to compile your code using AIR 3.5 or AIR 3.6 SDK.

As always Happy Flashing (for mobile)

Curtis J. Morley

 

Top iPhone / iPad Apps of All Time

Yesterday I posted that iPhone Apps had hit 10 Billion. So what are the most downloaded Apps of all time? Which will be the 10 billionth app downloaded. As of yet the winning app has not been listed but anyone willing to guess ——“Angry Birds”? If CES was any indication then this is the year of the Birds. Angry ones. Here are some of the most downloaded apps to date:

All-Time Top Free iPad Apps

All-Time Top Paid iPad Apps

Top iPhone/iPad apps

Top Iphone/iPad apps

All-Time Top Free iPhone Apps

Top iPhone/iPad apps

Top iPhone/iPad apps

All-Time Top Paid iPhone Apps

10 Billion iTunes Apps

10 Billion iTunes Apps Downloaded

The complete list can be found here – All-Time Top iPhone Apps, Top iPad Apps

What are your favorite apps?

How Big is 10 Billion?

iTunes Apps Downloads to hit 10 Billion

The iTunes Store is about to hit a milestone in it’s history and in the history of the world.

Apple reached the 10 Billion download milestone with iTunes music downloads 7 years after it’s launch. The pace quickened with apps. Apps went from 2 billion downloads near the end of September ’09,  to 3 billion in January of last year. One year later we see that number jump to 10 Billion. There is no question the advances in the iPhone and more importantly the launch of the iPad in April 2010 was the major push toward 10 Billion number.

Ten Billion will soon be the total number of apps downloaded from the iTunes. So how big is 10,000,000,000 and who else has this as a milestone in their history? Ten Billion is a pretty big number. It is actually an enormous number. So how can we quantify 10 Billion.  These are some of the milestones that have happened in the recent past in regards to 10 Billion.

10 Billion Milestones

What it costs to keep U.S. Government documents a secret – $10,000,000,000

Government Documents

The amount of money that Bill and Melinda Gates donated for vaccinations in 2010 – $10,000,000,000

Bill and Melinda Gates Foundation gave away $10,000,000,000

The population of people on the planet earth in the year 2050. – 10 Billion people

10 Billion people

The number of qubits it takes to build a basic but functional Quantum Computer – 10 Billion Qubits

10 Billion Qubits

1/3 the pieces of content posted each month on Facebook – 30 Billion images, links, videos, etc…

Facebook

Total Number of Tweets up to March 13, 2010 – 10,000,000,000 total tweets

The Number of YouTube views in 5 days – Ten Billion Views

A Bank Note Issued by the Zimbabwean Government issued in 2008 – (Talk about inflation. I found it  so cool that I ordered the 50 Trillion off of eBay)

How long before you or your company hits a ten billion milsetone?

Millenials Pick Android

The Q3 results are in and it shows that the Android is becoming the phone of the Millenials. The Nielsen Company released the finding as part of it’s ongoing research into Smartphone adoption.

Study shows that Android operating system is most popular among Millenials

Millenials Choose Android

So the question is why is Android gaining more adoption among Millenials? Do any of these factors play into it.

Cheaper Prices
Faster Speed (4G up to 10x faster)
Choice of Carrier (AT&T, Sprint, Verizon, T-Mobile, Etc…)
Choice of Hardware (HTC EVO 4G, Droid, DroidX, and over 15 more)
Customizable Interface (Homescreen interface, widgets, and more)
Cstomizable ROM (Make your phone be and do whatever you want. Not locked)
Better Camera (8+ mp on most current Androids)
Video Conferencing without need for a Wifi connection
Larger Screen (4.3-inch WVGA LCD)
8 person Wifi hotspot (Connect your laptop, ipad, and even iphone via wifi via android)
Streaming HD YouTube and other Video
Live TV
HDMI out
More Free apps than iPhone
Faster processors
Google Integration
Kick stand

and….

the ever controversial Flash enabled in the browser.

Let me know your thoughts. Why are Millenials buying Android?