# (as2) frame game

**URL:** https://forum.kirupa.com/t/as2-frame-game/329605
**Category:** flash
**Created:** [September 21, 2012, 12:40pm UTC](https://forum.kirupa.com/t/as2-frame-game/329605 "2012-09-21T12:40:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bcteam](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bcteam](https://forum.kirupa.com/u/bcteam)
#### Post date: [September 21, 2012, 12:40pm UTC](https://forum.kirupa.com/t/as2-frame-game/329605/1 "2012-09-21T12:40:59Z")

</div>

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?
