1. Heat oil in large saucepan over medium heat. Stir in onion, and cook until softened, about 2 minutes. Stir in beans and corn, then add sugar, salsa, and pepper flakes, mix well. Cook until heated through, about 3 minutes.
2. Melt 2 tsp. of butter in large skillet over medium heat. Place tortilla in skillet.. Sprinkle with cheese, then top with some of the bean mixture. Place another tortilla on top, cook until golden, then flip and cook on the other side. Repeat with remaining tortillas and filling.