Author: admin
-
The Perfect Storm – AIR iOS simulator/TLF issues
Was making changes to an app built with Flash for iOS, when I discovered that incompatibilities between the new XCode and Flash means that no longer(at the time of writing) is it possible to test or…
-
Punctuation in RTL text in Objective C
In the subtitles project I’m working on, I had the need to display Hebrew and Arabic, both RTL (right to left) languages. Having not worked with RTL text before, I wasn’t aware…
-
Optional parameters in methods in Objective C
Methods in Objective C are actually called messages but they’re often referred to as methods, a more commonly used terminology. Optional parameters are treated in an interesting way in Objective C. Basically…
-
Default String representation of an NSObject
In Actionscript, if you subclass Object, and you want a default string representation of your subclass, you just implement the method ‘toString’. For example the following: [sourcecode language=”actionscript3″] package { public class…
-
Getters and Setters in Objective C
Doing a lot of Objective C lately, thought it worthwhile to write a few key differences with Actionscript. To begin with today – getters and setters! Properties in Objective C are automatically…
-
the trick for registering a class for shared object
registerClassAlias is a great way for SharedObject to recognise the class type that you’re storing rather than just a random object. However – something that seems to be undocumented – I’ve discovered…
-
Publishing Android app in the Air Developer Tool
I’ve been working on an Android app lately, built in ActionScript. There’s a problem within the Flash IDE when publishing an Android app, that the icons available haven’t yet been updated to…
-
binding functions
I’ve been working on a Space Invaders style game with the request from the client that it be “developed in HTML5 and works in IE8″.(!!) A bit of a contradiction in terms.…
-
State Manager
I was working recently on a MovieClip which had several different states, where the elements were in different positions, or in some states certain elements didn’t exist. I guess there are two…
-
Custom components – order of parameters
A pain with parameters in custom components is that the order is set to alphabetical, and there’s nothing you can do about it. It’s a pain, because you might want better consistency…
