7 surprising lessons from writing a book on maternity leave

If you have recently committed to a big project, have a baby on the way and are wondering how you will survive both, this post is for you. I can only imagine how many people will tell you that this is impossible, stupid, or both. Or, “adventurous” if they are being polite. They are right. And that shouldn’t stop you. If you have your heart set on creating something while welcoming new life into your home, go for it. When the opportunity came to partner with Apress for writing “Migrating to Swift from Flash and ActionScript”, I was eight months Read More

Categories: Business.

Use your Flash skills to code with Swift

We have a brand new book for Flash and ActionScript developers who want to make iOS apps with with Swift, called Migrating to Swift from Flash and ActionScript. You can get the electronic edition (Kindle, PDF, EPUB) from Amazon or Apress or you can pre-order the print edition, which is coming out on November 13th 2016. You can also download a free sample here.. Is Flash dead? Not quite yet. And neither are your Flash and ActionScript skills. But we can all feel the wind of change that Swift – Apple’s latest programming language – is bringing. This might be sad news for Read More

Categories: AIR Native Extensions and News.

Asserting your way in ActionScript and Objective-C

We often get asked “what’s with all those assert statements in your code”? This concept was hammered in my head when I was a junior programmer, so I feel kind of old every time I am asked to explain it. But hey… An assert is usually defined as a “debug-only macro that aborts execution if its argument is false”. (See Steve Maguire’s Writing Solid Code) In other languages, like ActionScript, where you don’t have macros, you can use other techniques to achieve the same effect. The idea is that you use an assert as a diagnostic tool to help you Read More

Categories: AIR Native Extensions and Tutorials.

How ActionScript data is represented in C

Welcome to the first tutorial of the Translating between ActionScript and Objective-C series. Before we get on with data conversion, we need to have a word about how the ActionScript types are represented in the AIR C API, which is what you use when you make iOS Native Extensions for AIR. Most of the data you will be passing around will be either an argument of a function you call or a result of a function you call. Share on: WhatsApp Read More

Categories: AIR Native Extensions.

Translating between ActionScript and Objective-C

… and how to keep your cool while doing it. So you took the cross-language rout of programming. It’s fun, it provides variety and it often feels as if you are a tour guide for families visiting each other’s countries. Done that in real life, trust me. You have several people tugging at your sleeve and asking things like “So what’s that in Canadian dollars?” or “I don’t speak ounces. Why won’t they use the metric system?!” Usually all at the same time, as everyone knows it isn’t impolite if you interrupt in a foreign language.   Share on: WhatsApp Read More

Categories: AIR Native Extensions and Tutorials.