topical media & game development
#graphic-flex-image-effects-11-Flex-SoundTest.ax
#graphic-flex-image-effects-11-Flex-SoundTest.ax
[swf]
[flash]
flex
package {
import flash.display.Sprite;
[SWF(width=400, height=300, backgroundColor=0x000000)]
Simple test to demonstrate use of SoundController to load and play sound.
public class @ax-graphic-flex-image-effects-11-Flex-SoundTest extends Sprite {
private var _soundController:graphic_flex_image_effects_11_Flex_SoundController;
Constructor. Loads and plays sound specified in path.
public function @ax-graphic-flex-image-effects-11-Flex-SoundTest() {
_soundController = new graphic_flex_image_effects_11_Flex_SoundController("graphic-flex-image-effects-11-assets-AlienInTheCaverns.mp3");
}
}
}
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.