SoundModule+fullscreen button
Hello and welcome
this is a simple sound module to work with. it reads the sound data from a simple xml file and reacts accordingly.
there’s an added autoPlay function along with a fullscreen button if u need it.
the xml looks like this:<root autoPlay=”1” fs=”1”> <song songName=”magicHint - iDraw” songAdress=”sound/soundFiles/magicHint_iDraw.mp3”></song>......
it’s pretty much self explanatory, for autoPlay and fs (fullscreen) 1 is on 0 is off. Song name and Song adress are stored here.
the graphics can be changed. just attach an instance of the soundModule movieClip by drag and drop or via actionScript. import the class and instantiate it in 2 lines of code. here’s an example:///import the class import net.eremtapa.soundController; //create mySound class instance var mySound = new soundController(soundModule);
enjoy
check out my other items:
Flasden:





Graphic River:

View Complete Portfolio


3 Purchases
3 Comments