Monthly Archives: November 2007

adding a symbol dynamically from the library

how to add a symbol from the library? in AS2, this.attachMovie(“square”, “square”, 1); and in AS3, var square1:square=new square(); but how do you add a symbol dynamically from the library? say if you have a shape stored in a variable:

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