в чем ошибка. После frame destroy не появляется новое окно(просто белый экран)
root = Tk()
root.geometry("640x480")
root.title("Квест1")
app1 = Frame(root)
app1.grid()
def next_frame():
#Frame_2 (app2)
app2 = Frame(root)
app2.grid()
root.title("Квест2")
im_3 = PhotoImage(file='1.png')
l_3 = Label(app2, image=im_3)
l_3.place(x=1, y=1)
def frame_destroy_1():
app1.destroy()
next_frame()
frame_destroy_1()
#Frame_1 (app1)
im_2 = PhotoImage(file='2.png')
l_2 = Label(app1, image=im_2)
l_2.grid()
play = lambda: PlaySound('untitled.wav', SND_FILENAME)
button1 = Button(app1, text='Play1', command=play)
button1.place(x=1,y=320,width=100,height=100)
button2 = Button(app1, text='хых', command=frame_destroy_1)
button2.place(x=320,y=320,width=100,height=100)
button2.bind("<Button-2>",next_frame)
play = lambda: PlaySound('1.wav', SND_FILENAME)
button3 = Button(app1, text='Play2', command=play)
button3.place(x=101,y=2,width=100,height=100)
im_1 = PhotoImage(file='ball.png')
l_1 = Label(app1, image=im_1)
l_1.place(x=1,y=101)
root.mainloop()