//----------------------------------------------------------------------------- // volumebyframe.m // // Example of an Animated Volume bar using Frames // (Improved, no longer requires HiddenVolume) // // written by FrisbeeMonkey //----------------------------------------------------------------------------- // USING THIS SCRIPT: //***************************************************************************** // 1. Define the following in your XML: // // // Change the position(x,y) and size(w,h) of "VolumeAnim" to the specifics // of your layer. (NOTE: w and h refer to just one frame, not the whole image) // 2. Define your gradient map with your other elements using: // // If you need help creating a map file, check: // http://www.stefanweb.com/wa3/tutorials.html#UsingMaps // 3. Make sure your ticker is called "SongTicker" and is in the same group as // "VolumeAnim". If you don't have a ticker, add one now. // 4. Copy this script (and volumebyframe.maki) to your scripts folder. // 5. If you don't have volumebyframe.maki, compile this script. // 6. Add this line to the group that contains your layer and SongTicker //