// swfã®ã¡ã¤ã³ public class swf extends Sprite { public function swf() { addChild(new Audio()); } } // èªåã©ã¤ãã©ãª public class Audio extends 親ã¯ã©ã¹ { public function Audio() { var sound:Sound = new Sound(); sound.load(new URLRequest("...")); sound.play(); } }
親ã¯ã©ã¹ãSpriteã ã¨åçã§ãããã©ãDisplayObjectã ã¨ã§ããªãã
ãããããã®ãªã®ãããã®è¾ºã®æåã¾ã å
¨ç¶åãã£ã¦ãªãã