(as2) frame game

Hi there! Is there any solution for this?

Scene 1

FRAME 1 (_root) > CITY (Has 4 frames)

When I in Frame1 (_root), I have to reach a button named (BUT) of CITY’s third frame.

CITY._level2.BUT.onPress = function () {
**_level0.sorular.gotoAndStop(frames.pop()) **// delete item from array

I make a mistake but I don’t know what that is? How can I solve that?