文字列型を定義する - Action Script

Flash Flexでは文字列型はStringです。
protected function button1_clickHandler(event:MouseEvent):void
{
  // TODO Auto-generated method stub
  var str:String;
  str="Hello Flex world";
  label1.text = str;
}
著者
iPentecのメインデザイナー
Webページ、Webクリエイティブのデザインを担当。PhotoshopやIllustratorの作業もする。
掲載日: 2010-04-15
iPentec all rights reserverd.