ãã¾ã«ã¯ä½ãåããã®ãã¨æãã¾ãã¦ãä»æ¥ãä½ã£ããµã³ãã«ãç´¹ä»ãã¾ãããããã®ãµã³ãã«ã¯chap06ã«æ²è¼äºå®ã®ãµã³ãã«ã§ãã åè¨4ã¤ã®ã«ã¹ã¿ã ã¯ã©ã¹ã使ã£ã¦ãã¾ãããããã¯ã¹çãªè¦ç´ ã¨ãã¦ã¯ã 1.MovieClipã·ã³ãã«ããã¤ã³ã¹ã¿ã³ã¹ãä½ã£ã¦ãåå¨ã«ä¸¦ã¹ãã 2.ã¯ãªãã¯ã¤ãã³ãã§å¿çããã 3.ãã¬ã¼ã åçã¤ãã³ããå©ç¨ããã 4.ã¯ã©ã¹ãç¶æ¿ããã 5.ããã®ããã«ãã¨ã¨ã³ã¨å¼¾ã¾ããã 6.æå®ã®æ¹åãåãããã ã¨ãããããªãã¨ãå«ã¾ãã¦ãããµã³ãã«ã§ããAS3.0ã§ã¯ã1ã2ï¼3ã®æ¹æ³ãAS2.0ã¨ã¯ã¾ã£ããéãæ¹æ³ã«ãªã£ã¦ãã¾ããæ°ãã«å¦ã¶å¿ è¦ãããéè¦ãªè¦ç´ ã§ãã
Timer ã¯ã©ã¹ ï¼livedocs@labï¼ ã¯ä¸å®ã®ééæ¯ã«å¦çãè¡ãããå ´åã«ä½¿ç¨ãã¾ããTimer ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ãäºãè¨å®ãããæéãçµã¤ã¨ã¤ãã³ãããã£ã¹ããããã¾ãã Timer ã¯ã©ã¹ã¯ AS2 ã® setInterval() / getInterval() ãç½®ãæãããã®ã§ããAS3 ã§ã setInterval() / getInterval() ã¯å ±ã« flash.util ããã±ã¼ã¸ä¸ã«ãã使ç¨å¯è½ã§ãããããã¯æ¢åã®ã³ã¼ãã¨ã®äºææ§ãæãããããã¨èããã®ãããããã§ãã Timer ã使ç¨ããã«ã¯ãã¾ãã¤ã³ã¹ã¿ã³ã¹ãä½æãã¾ããã³ã³ã¹ãã©ã¯ã¿ã®å¼æ°ã«ã¯ã¤ãã³ãã¾ã§ã®å¾ ã¡æéãããªç§åä½ã§æå®ãã¾ãã var myTimer:Timer = new Timer(1000); 次ã«ãæå®æéå¾ã«å¼ã³åºãããã¤ãã³ããã³ãã©ãç»é²ãã¦ãã start() ã¡ã½ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}