multistatebutton-resources.lzx

<library>
              <!-- first create the multi-frame resource and give it a name -->
              <resource name="mybutton_rsrc">
                 <!--  State: 0 -->
                 <!-- first  frame of state 1 = mouseup   image of the button -->
                 <frame src="resources/multistatebutton/state0-mouseup.jpg"/>
                 <!-- second frame of state 1 = mouseover image of the button -->
                 <frame src="resources/multistatebutton/state0-mouseover.jpg"/>
                 <!-- third  frame of state 1 = mousedown image of the button -->
                 <frame src="resources/multistatebutton/state0-mousedown.jpg"/>
            
                 <!--  State: 1 -->
                 <!-- first  frame of state 2 = mouseup image of the button -->
                 <frame src="resources/multistatebutton/state1-mouseup.jpg"/>
                 <!-- second frame of state 2 = mouseover image of the button -->
                 <frame src="resources/multistatebutton/state1-mouseover.jpg"/>
                 <!-- third  frame of state 2 = mousedown image of the button -->
                 <frame src="resources/multistatebutton/state1-mousedown.jpg"/>
              </resource>
            </library>

Cross References

Resources

Name Source Image
mybutton_rsrc resources/multistatebutton/state0-mouseup.jpg
resources/multistatebutton/state0-mouseover.jpg
resources/multistatebutton/state0-mousedown.jpg
resources/multistatebutton/state1-mouseup.jpg
resources/multistatebutton/state1-mouseover.jpg
resources/multistatebutton/state1-mousedown.jpg