Ubacoda.com is an independant developer of mobile applications. Welcome to the ubacoda.com blog!

Packaging Adobe Air 3.9/4.0 - getting stuck on launch screen

Sat Jan 18 19:20:00 2014

It's been some time since I wrote anything on here. I am very busy making games at work and have very little time to do my own apps, let alone write blog posts. However, I thought that this is too important for anyone using Adobe Air to build their apps that I just had to share. I really hope it helps those struggling with the same problem.

What is the problem?

I recently uploaded a new update for Tumble Bee HD to the App Store built using Adobe Air 3.9. I had had no problems during the development phase since I had been using ipa-test-interpreter to compile the update.

Once it was time to distribute the app to the App Store, I compiled using ipa-app-store, as I always have. This unfortunately results in getting no further than the application launch screen.

So what's solution?

If you are in this situation, you most likely have something like this in the <initialWindow> <content> of your application xml file

<initialWindow>
		<content>./bin/Main.swf</content>

Simply change that to this...

<initialWindow>
		<content>Main.swf</content>

And Voila! That's right folks! The swf file needs to be in the root of your application directory! While this wasn't the case at 3.4, it seems to be the case for all the latest releases of Adobe Air.

I have no idea why Adobe had to change this but doing the above allows the app to build and render properly passed the launch screen.

Tumble Bee HD Release

Fri May 4 20:55:59 2012

It's been a long time since I've written anything on this blog. Since my move to a Ateam Inc. in Nagoya, I have been working flat out on various games for the company and have had very little time to do anything of my own. Well, it's golden week here in Japan and I'm currently working on a few personal projects. News came to me today that my app TumbleBee HD has made it to the app store. If you haven't tried the original yet, I recommend downloading this new HD version which now supports Game Center and all iPad resolutions including the 'new iPad'.

Super 21 : BlackJack Now Available on the iTunes App Store!

Mon Oct 31 19:47:50 2011

Super 21 : Blackjack for iPhone and iPod touch

Super 21 BlackJack logoI am very proud to announce the release of my lastest iPhone app - Super 21 : BlackJack.

I have been working pretty hard lately and have tons of unfinished apps and artwork lying all over the place. Unfortunately, there are only so many hours in the day, but I have finally managed to get this one done. And I have to admit, it's a cracker! If you like cards games then you'll most likely enjoy this one. Please check it out and as usual please give any feedback on how to make Super 21 : BlackJack even better than it already is. You can also give any feedback on the Super 21 webpage at www.ubacoda.com/

And finally, here's a link for Super 21 on the iTunes web page :

Lastly, I'd like to say a very quick thank you to everyone who has supported me in my indie endeavors to develop entertaining mobile apps. I cherish every comment and snippet of feedback, so thank you for all you have given so far. I look forward to hearing from you all soon.

Tones : Music Creation App for iOS devices on youTube

Sun Oct 30 20:48:37 2011

Hi everyone, just wanted to share this video of my music creation app : Tones. Check it out.

View on youTube

Convert caf to aif to mp3 on mac

Fri Oct 28 22:04:05 2011

mp3 to caff

Getting from mp3 to caff is easy.

# /usr/bin/afconvert -f caff -d LEI16 [mp3_input_file] [caf_output_file]

Pretty straightforward, huh?

caff to aiff to mp3

Getting from caff to mp3 is not so easy. You have to convert it to aiff before converting it to mp3

# /usr/bin/afconvert -f AIFF -d I8 [input file]

This command will get you a .aif file.

Using iTunes to convert .aif to .mp3

To convert using iTunes, first go to File > Add to Library and select your audio files. Next, you may have to change your import settings. Either use cmd+, or go iTunes > Preferences... and click the "Import Settings..." button. Change "Import Using" to "MP3 Encoder", press OK and close the Preferences window. Now to create the mp3 version, just select your files in the iTunes library and Advanced > Create MP3 Version. You can then right click on the newly created file and choose "Show in Finder" to get to it.

Using Audacity to convert .aif to .mp3

You can also use Audacity to open the .aif and export it in .mp3 format. Note however that you will need to download a file called libmp3lame.dylib (which you can get from here at time of writing this) and place it in /usr/local/lib/. And if you don't know where that is because it's a hidden folder by default, just click on your desktop and press the shortcut cmd+shift+G and type it in manually

Batch convert via terminal

And finally... here's how to batch convert a whole folder using terminal

# cd [folder containing audio files]
# ls | xargs -I {} /usr/bin/afconvert -f AIFF -d I8 {}

Hope it helps

Most recent posts

  1. Flashcards Maker - the app the helps you learn in a flash
  2. Convert Font Suitcase to TTF in 3 Easy Steps
  3. Rain or Shine - Weather Forecast Available Now!
  4. Getting around Apple's silly rules for iOS 10
  5. Localising App Names for iOS and Android

Search site:

Apps by Ubacoda.com

Click the app icons to see more info


Archives

Categories