Blog Archives

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

Embedded fonts disappearing when loaded into another SWF

I once found that when an AS3 flash movie(let’s call it parent) that contained a UIComponent, loaded another AS3 flash movie(let’s call it child) that contained a UIComponent with embedded fonts, the component within the child lost its embedded fonts.

Tagged with: ,
Posted in Flash

Frustrating Flex problems solved #2 – addChild

this.addChild(new Sprite()) looks simple enough doesn’t it? especially if you’ve been working solely in Flash AS3. But if you try this line within a Flex component, you’ll receive the error: ‘Type Coercion failed: cannot convert flash.display::Sprite@86cc0e1 to mx.core.IUIComponent.’ This is

Tagged with: , ,
Posted in Flex