// RhinoTrip's funky volumebar control script // contact: jkaczmar@wso.williams.edu and www.stefanweb.com // // This script will control an animated volume bar // // // Add the following lines to your .xml // // // // // // // // You change the x and y, w and h of the animatedlayer to reflect the specifics of your // animation. w and h define the frame size, btw. Not the entire image. // // volumeaniminfo: set the x = the number of frames of animation // volumeaniminfo: the y value: // set to 0 if you do NOT have a song title ticker text area // set to 1 if you DO have a song title ticker text area // // IMPORTANT NOTE: this song ticker text area MUST HAVE an id="songticker" of you // will die. // // The reason I include this option is so the script can write the volume level to // the songticker as the volume changes. // // Do NOT change the id= of either the volumeaniminfo or VolumeAnim or the script won't work. // // Make sure that the slider HiddenVolume is NOT showing on your skin by adjusting x and y if // necessary. Don't change anything else though. // // You must also create a map file on a gradient to place underneath the animation. You // don't need to put it in the container section of the xml file, but you do have to load // it in the elements: // // // // Again, DO NOT change the id. It must be called player.map.volume for the script to work. // // If you need help creating a map file, check http://www.stefanweb.com/wa3/tutorials.html#UsingMaps // // Don't forget to include the script in your .xml //