Hi
I�m exploring the plugins SDK, and have hit a roadblock.
I managed to get my plugin running. I�ve managed to create new Actions; like this one:
<font face="Courier New, Courier, mono">
Acts.prototype.DoSomething = function (text_value, X, Y)
{
var i,j;
for (i=1; i < X; i++)
{
for (j=1; j < Y; j++)
{
testFunction(i,j);
}
}
};
</font>
But I can�t figure out how to do functons. In this example, testfucntion (i,j).
I made it like this:
<font face="Courier New, Courier, mono">
this.testFunction = function (x,y)
{
//do stuff
};
</font>
But it doesn�t work. How can I white a function,or aprivate method, or some code that the Acts.prototype.DoSomething can use?
Thanks.