Blog Archives

Communication between objects in Objective C and Swift compared with Actionscript – part 3

Delegates Rather than passing the method itself to be called back, another callback strategy is to pass in an object that contains the callback methods. Delegation is such a design pattern, another way that children in Objective C and Swift

Tagged with:
Posted in Flash, Objective C, Swift

Communication between objects in Objective C and Swift compared with ActionScript Part I

When I began using Objective C, coming from ActionScript, I was a little overwhelmed at the myriad ways that a child component can send messages to its parent. ActionScript seems sort of easy now, since generally (at least since AS3)

Tagged with:
Posted in Flash, Objective C, Swift

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 that the constructor of the class you’re registering

Tagged with: ,
Posted in Flash

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 include 96×96 and 144×144. There’s been talk of

Tagged with: , , , ,
Posted in AIR, Flash

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 common solutions to dealing with this – 1:

Tagged with: ,
Posted in Flash

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 to your parameters in different components, or to

Tagged with:
Posted in Flash

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 the standard Flash UI Component framework. Building components

Tagged with: , ,
Posted in Flash

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 were hoping for and for our purposes the

Tagged with: , ,
Posted in Flash

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 – error (start with an easy one!)Warning – advertenciaLayer

Tagged with:
Posted in Flash

Strangeness in custom component parameters

I decided today to systematically analyse a problem that’s bothered me for several years: What determines whether a parameter setter for a custom component will be called? Today I’ve finally worked it out, and discovered that my lack of clarity

Tagged with: ,
Posted in Flash