Brown beef and onions in a large skillet on medium-high heat, drain. Add tomato sauce, beans, corn and green chiles mix well. Stir in all of the spices (except red pepper). Bring to boil. Reduce heat to low simmer 5 minutes. Add red pepper to taste, if desired.
Spread 1/2 cup of beef mixture on bottom of 13x9x2"-inch baking dish sprayed with non-stick cooking spray. Top with 3 of the tortillas, over lapping as needed. Layer with 1/2 of the remaining beef mixture and 1/2 of the cheese. Repeat with remaining tortillas, beef mixture and cheese.
Bake in preheated 350 oven for 15 minutes or until heated through, let stand 5 minutes before serving.