# Access objects in other frames

**URL:** <https://forum.kirupa.com/t/access-objects-in-other-frames/305208>\
**Category:** flash\
**Created:** [February 21, 2010, 1:19pm UTC](https://forum.kirupa.com/t/access-objects-in-other-frames/305208 "2010-02-21T13:19:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![h3d0](https://avatars.discourse-cdn.com/v4/letter/h/5f8ce5/32.png) [@h3d0](https://forum.kirupa.com/u/h3d0)\
**Post date:** [February 21, 2010, 1:19pm UTC](https://forum.kirupa.com/t/access-objects-in-other-frames/305208/1 "2010-02-21T13:19:42Z")

</div>

Hello everyone.

\*\*Aim: \*\*

- I have a code in frame#1;
- I have an object in frame #2 (but this object doesn’t exist in frame #1);

**Comment:** In AS2 I could use something like:

```auto
gotoAndStop(2);
// code for object
gotoAndStop(1);

```

It doesn’t work any more in AS3.

**Question:**  
? How I can access object in frame #2 from frame#1?  
? Any other way except using custom classes?
