Dynamical aspects of isoscaling