Heat the butter over medium heat in a saucepot. Add the orzo and toast until golden. Stir in the rice, add the stock and cranberries. Bring to a boil, and then reduce heat to simmer. Cover and cook until tender, 15 to 18 minutes. Fluff the rice and combine with walnuts and scallions to serve.