All I am trying to do is add a movieclip from the library to the stage from the class below. The trace works but the dang thing does not show up. I am trying to get into using classes finally. Thanks in advance.
package classes
{
import flash.display.MovieClip;
import flash.text.TextField;
import flash.events.MouseEvent;
public class mapTarget extends MovieClip
{
public function mapTarget()
{
var mcChoiceTarget1:mcChoiceTarget = new mcChoiceTarget();
mcChoiceTarget1.addEventListener(MouseEvent.CLICK, handleClick);
this.addChild(mcChoiceTarget1);
trace(mcChoiceTarget1.y);
trace(this.width);
}
public function handleClick(evt:MouseEvent):void
{
trace("You clicked it baby!");
}
/*public function sayHello(initialName:String = ""):String
{
}*/
}
}