kingscooty
November 3rd, 2007, 02:32 PM
Hey all can someone tell me why i recieve this in a trace
function Function() {}
when i use this return function inside a custom class called Node:
public function getID():int
{
return id;
} //get node ID
I thought :
trace(node.getID);
would work, but it's giving me a wierd output :/
function Function() {}
when i use this return function inside a custom class called Node:
public function getID():int
{
return id;
} //get node ID
I thought :
trace(node.getID);
would work, but it's giving me a wierd output :/