Quote:
<?xml version="1.0" encoding="UTF-8"?>
<widget version=0.2>
<!--
Hula Girl
Version: 0.2
-->
<debug>on</debug>
<window title="Hula Girl">
<name>Hulagirlwin</name>
<width>150</width>
<height>150</height>
<level>below</level>
<shadow>false</shadow>
</window>
<image>
<height>150</height>
<width>150</width>
<hOffset>0</hOffset>
<vOffset>0</vOffset>
<name>Hulagirlimg</name>
<src>Resources/dancer1.png</src>
<zOrder>0</zOrder>
</image>
<action trigger="onTimer" interval=".1">
whichFrame++;
if (whichFrame == 9) whichFrame = 1;
HulaGirlimg.src = "Resources/dancer"+whichFrame+".png"
</action>
<about-box>
<image>Resources/about.png</image>
</about-box>
</widget>
This code belongs to my hula girl widget (soon to be released here) and I need someone who is good at xml or making widgets to look at it and tell me what is stoping it from working.
I don't know how to fix it, but the error says "[Hula Girl] Reference Error: whichFrame is not defined (Golbal/onTimer:C

ocuments and SettingsSean.HOSTHula Girl 0.2.kon: Line 30)"
Please help me
Main Menu