1. In a large skillet, cook beef and onion over medium heat until meat is no longer pink; drain. In a small bowl, combine the flour, salsa and chili sauce until blended; stir into skillet. Add the corn, chilies and brown sugar.
2. Transfer to a deep-dish 9-in. pie plate. Unroll pastry; place over filling. With a sharp knife, cut out a face to resemble a jack-o'lantern; flute edges. Beat egg and food coloring; brush over pastry.
3. Bake at 450 degrees for 9-11 minutes or until crust is golden brown and filling is bubbly.