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…
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…
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)…
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…
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…
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:…
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…
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…
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…
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…
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…
You must be logged in to post a comment.