# SWFAddress off main timeline

**URL:** <https://forum.kirupa.com/t/swfaddress-off-main-timeline/296107>\
**Category:** flash\
**Created:** [September 9, 2009, 4:48pm UTC](https://forum.kirupa.com/t/swfaddress-off-main-timeline/296107 "2009-09-09T16:48:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nate51](https://avatars.discourse-cdn.com/v4/letter/n/4da419/32.png) [@nate51](https://forum.kirupa.com/u/nate51)\
**Post date:** [September 9, 2009, 4:48pm UTC](https://forum.kirupa.com/t/swfaddress-off-main-timeline/296107/1 "2009-09-09T16:48:07Z")

</div>

I have gotten SWFAddress working on my main timeline, but I realised a lot of the work I do doesnt work off keyframes on the maintimeline. I burry my MC’s deep down into other MC’s.

ex. \_root.stage.[pagename].gotoAndPlay(“start”);

“pagename” indicates the page within the mc. I have swfaddress working on the maintimeline as the command is

```auto
gotoAndStop('$' + value);

```

But as you can see gotoAndStop is looking on the maintimeline. Is there a way to make it so that the “pagename” variable is dynamic and can be assigned on a button click or landing on a URL?

Or does anyone know if there is a way to deep link in MCs?
