※現在、「wonderfl build flash online」求人コンテンツ制作に関してのアンケートを実施中です!みなさまのお力添えを頂いて、続々とアンケート結果が集まっていますが、まだまだ募集しております。ご協力のほど、どうぞよろしくお願いいたします!

wonderfl運営事務局
→アンケートページ(※ログインしてからお答えいただけるようになっています。)

 notice: Flash editor updated! Join the development! Thanks to MiniBuilder


forked from : kamipoo's Hello Wonderfl [diff(2)]

FORKED
  1. // forked from hacker_4pqz69ow's forked from: code on 2008-12-18
  2. // forked from kamipoo's code on 2008-12-18
  3. // write as3 code here..
  4. package {
  5.     import flash.display.*;
  6.     import flash.text.*;
  7.     import flash.events.*;
  8.     
  9.     [SWF(width="465", height="465", backgroundColor="0xFFFFFF", frameRate="60")]
  10.     public class HelloWonderfl extends Sprite {
  11.         
  12.         private var _txt:TextField;
  13.         public function HelloWonderfl() {
  14.             super();
  15.             _txt = new TextField();
  16.             _txt.text = "Hello Wonderfl";
  17.             this.addChild(_txt);
  18.             _txt.autoSize = "left";
  19.             _txt.x = stage.stageWidth/2;
  20.             _txt.y = stage.stageHeight/2;
  21.             _txt.scaleX = _txt.scaleY = 2;
  22.             this.addEventListener(Event.ENTER_FRAME, enterframeHandler);
  23.         }
  24.         public function init():void {
  25.         }
  26.         private function enterframeHandler(e:Event):void {
  27.             _txt.rotationY += 1;
  28.             _txt.rotationX += 1;
  29.             _txt.rotationZ += 1;
  30.         }
  31.     }
  32. }
noswf
Get Adobe Flash Player