Simple example of using the sound interface plugin needed

  • I've looked at the documentation for the sound interface plugin but I still can't get it going. The examples delve into some of the complexities but first it's necessary to get the basics working. Can anyone point me to some sample code to simply start playing an mp3 that is in the same folder as the swf file upon stating the pano? Does the plugin have to be referenced in the "on start ' section along with any actions that may already be there? If so, what is the proper syntax?

  • Hi!

    Code
    <plugin name="soundinterface"
    	url="soundinterface.swf"
    	rootpath=""
    	onloaded="set(soundinterface.volume,0); playsound(mymusic, m.mp3, 0); tween(soundinterface.volume, 0.4, distance(10,150), linear);"
    	keep="true"
    
    
    />


    Where mymusic is the name of mp3 for control it
    for example - pausesoundtoggle(mymusic);

    Hope it help
    Andrey *thumbup*

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!