In the Below action script file i get an error saying cannot import mx.controls.Label,how is this to be resolved
package {
import flash.display.Sprite;
import mx.controls.Label;
public class cld extends Sprite
{
public function cld()
{
var myLabel:Label = new Label();
myLabel.text = "hello";
addChild(myLabel);
}
}
}