-
as seen on Stack Overflow
- Search for 'Stack Overflow'
i am new to Actionscript3, i need to know why i keep getting Parameter child must be non-null. And my code won't display 5 enemyBlock objects onto the stage but only just one.
any tips and help will be much appreciated. thanks in advance.
returns:
TypeError: Error #2007: Parameter child must be…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All,
I am simply trying to draw a rectangle inside of a panel using flex4. I am using spark instead of mx. It complains about addchild being replaced by addelement; however, addelement expects type ivisualcomponent. I think sprite should be of that type; however, it reports an error when trying…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello SOers, I've run into a nice problem with the UIComponent.addChild(...) function.
First of all, I'm using ESRI Api for Flex. In this API you find a class called Graphic that inherits UIComponent. Basically, I'm trying to add, as a child, a Graphic 'g' to another graphic 'parent'. So that when…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to move away from mxml to actionsctipt. I have a <s:Rect> that I've created and set its properties, but having trouble adding it.
var aRect:Rect = new Rect();
//set properties like aRect.x, aRect.y, aRect.width, aRect.height
//tried adding it various ways
addChild(aRect);
Application…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Im new to actionscript 3 and am a little confused about how the addchild function works.
I want to draw 5 houses. each house has a roof and wall. Each wall has a door and a window.
I have the following classes and this is how I grouped them
class Main
class House
class Roof //a triangle
…
>>> More