Lynda.com ~ Air for Flex Developers
I'll make this short, lets say you have a lynda.com license and you are using their very fine service to enhance your understanding of AIR by means of Flex. You download the exercise files (cos you've got the cool account) and you throw them in your file system, install flex builder 3, you are all set. So you crack open flex builder and import the flex project archive you received from lynda.com, only the problem is when you click run nothing happens and when you click debug it tells you "error while loading initial content". You google like a mad-man trying to find an answer and get everything from, 'upgrade your flex sdk' to 'kill a chicken... twice'. Turns out that while these may fix some issues, what you really need to do is fix your namespace. Seriously that's it, just change the namespace.
Open your config .xml file and find this line:
<application xmlns="http://ns.adobe.com/air/application/1.0"> |
See the "1.0" on the end? That's your problem, see you are probably developing with AIR 1.5 (and why wouldn't you?), not AIR 1.0. So change the line to read
<application xmlns="http://ns.adobe.com/air/application/1.5"> |
Save the file and relaunch/debug your app. It should run like a champ now. On the upside, maybe lynda will find this post and fix their example files. Until then, this trick should keep you going.
Print This Post