flex - Actionscript error cannot import library -


in below action script file error saying cannot import mx.controls.label,how 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);         }      }  } 

make sure flex project , in project properties->flex build path->library path import framework.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -