Here's my code, the problem is that it doesn't add the sprite when i call it from my main function in main.
package{
import flash.display.*;
import flash.events.*;
public class gfxs extends MovieClip{
public function gfxs(){
}
public function placeCar(){
var car:MoonCar = new MoonCar();
car.x = 100;
car.y = 372;
addChild(car);
trace("PLACED CAR"); //JUST TO CHEK IF IT RUNS THIS CODE(IT DOES)
}
}
}