# Store a var to parse it to an other frame

**URL:** <https://forum.kirupa.com/t/store-a-var-to-parse-it-to-an-other-frame/274670>\
**Category:** flash\
**Created:** [November 2, 2008, 3:33pm UTC](https://forum.kirupa.com/t/store-a-var-to-parse-it-to-an-other-frame/274670 "2008-11-02T15:33:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarah](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jarah](https://forum.kirupa.com/u/jarah)\
**Post date:** [November 2, 2008, 3:33pm UTC](https://forum.kirupa.com/t/store-a-var-to-parse-it-to-an-other-frame/274670/1 "2008-11-02T15:33:44Z")

</div>

Is it possible to store a var in a function a use it in an other frame. Ex.

In frame 1 i have stored the ID from a newsarticle in a var. But in frame 2 i want to retrieve the whole newsarticle from the ID in that function. Is that possible?

I have this on frame 2

connectie2.call(“NieuwsID.getNewsID”, responder2, id);

how can i acces var id who’s stored in frame one in this function:

```
    function linkEvent(event:TextEvent):void {
                var id:String = event.text;
                trace(id);
                gotoAndPlay("id");
    }
```
