Has anyone created their own functions in KoolMoves?
Printable View
Has anyone created their own functions in KoolMoves?
Hilary has. That functionality is working.
Yes,
User defined functions were implemented from KM ver 3.2
The only thing that does not work at the moment is Function Literals:
I.E. you cannot define a function like so:
myFunction = function (a, b) { return a + b };
Only works like this:
function addNumbers(a, b){
return a + b;
}
Functions are a big plus because they allow you to put most of your code on the first frame of the movie and invoke the functions from anywhere.
addNumbers(2, 4);
Hilary
--
You'll find an intresting example in my KoolMoves section in a couple of days.Quote:
Originally posted by BreakPoint
Has anyone created their own functions in KoolMoves?