Code:
- Code: Select all
private function makeBox(){
trace("Test");
var myBox:Shape = new Shape();
myBox.graphics.beginFill(0xFF0000);
myBox.graphics.drawRect(50, 50, 150, 150);
myBox.graphics.endFill();
addChild(myBox);
}
But it doesnt do ANYTHING. All I see is a black stage (My stage color is set to black)
It doesnt work with a textfield either...
And yes, my server is running. There are no errors in the console. This function is being run because the trace outputs to the console.
EDIT: I have been dealing with this for like 2 weeks. Please respond quickly D: