Author: admin
-
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…
-
Custom component for distribution – live preview detection
It’s been a while since I worked on a custom component for distribution, to auto-install in the Adobe Extension Manager. Many online tuts and official documentation assume that you want to extend…
-
From audio streaming synching to timed MovieClips
I’ve been working recently on an iPad app with a lot of vector animation. Sometimes, due to transparency, effects, etc, playback of the animations were not quite up to the frame-rate we…
-
Spanish Flash terms
When I began working in South America, I soon realized I needed to brush up on my Flash terms to be able to communicate… Here is a list of some. Error –…
