文字列型を定義する

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;
}
AuthorPortraitAlt
著者
iPentecのメインデザイナー
Webページ、Webクリエイティブのデザインを担当。PhotoshopやIllustratorの作業もする。 最近は生成AIの画像生成の沼に沈んでいる。
作成日: 2010-04-15
Copyright © 1995–2025 iPentec all rights reserverd.