# Passing variables between frames

**URL:** <https://forum.kirupa.com/t/passing-variables-between-frames/40660>\
**Category:** flash\
**Created:** [January 20, 2004, 10:00pm UTC](https://forum.kirupa.com/t/passing-variables-between-frames/40660 "2004-01-20T22:00:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Hed](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@Rob\_Hed](https://forum.kirupa.com/u/Rob_Hed)\
**Post date:** [January 20, 2004, 10:00pm UTC](https://forum.kirupa.com/t/passing-variables-between-frames/40660/1 "2004-01-20T22:00:10Z")

</div>

I am trying to record the last frame the movie clip is on in one scene in order to restart that movie clip at the same position on another scene.

I did a last\_position = getProperty(\_root.myclip, \_currentframe) in scene 1 but when i click on a button in scene 1 to go to scene 2, how do pass that info on. I am new at this AS stuff.

thanks
