I'm glad, that it useful. When you call asFindasPath(start, dest)(terrible name for the function :)), founded path is stored in the asPath list, and when you next time call asFindasPath, asPath list erased, so when you want to find path for one of many entities, you should then record founded path somewhere else, in the another list for example or in the array. It would be something like this:
Any way to count the nodes, that will be passed to get to the target. if the count is greater than a var.. it cuts the way to the farest node possible with the var?
List has a "count" variable. "asPath.count" will return number of nodes, that path has. About farest node, if you need farest node from all nodes in the level, you should loop through the asNodeList, if you need farest node from the path list you should loop through asPath list.
I always just get the home: http://www.filedropper.com/ even when I pass the full link in the browser (IE, FF)-perhaps the file isn´t anymore up? Would be coul if you could give us another link