Tordex Community

Full Version: Volume control problem with xml, cannot change icon based on volume
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, new post here I'm having some problems with the Volume control plugin

The first is the skin I'm trying to make has an icon that changes based on the volume, however the volume control plugin although the functionallity is there, refuses to 'read' the volume and thus the icon does not change.

the code I'm using is here

Code:
        <image command="volume" value="volume" max-value="100" margin-top="0" margin-right="0" margin-left="0">
            <state value="100" file="icons\audio-volume-100.png" />
            <state value="66" file="icons\audio-volume-66.png" />
            <state value="33" file="icons\audio-volume-33.png" />
            <state value="0" file="icons\audio-volume-0.png" />
        </image>