# Fancy changable destination goto action

**URL:** <https://forum.kirupa.com/t/fancy-changable-destination-goto-action/54184>\
**Category:** flash\
**Created:** [June 11, 2004, 6:39pm UTC](https://forum.kirupa.com/t/fancy-changable-destination-goto-action/54184 "2004-06-11T18:39:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashFish](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Post date:** [June 11, 2004, 6:39pm UTC](https://forum.kirupa.com/t/fancy-changable-destination-goto-action/54184/1 "2004-06-11T18:39:11Z")

</div>

I have been told that i can use something like

on (release) {  
gotoAndPlay(“two”, 1);  
destination = profile;  
}

and then when it gets there.

gotoAndPlay(“destination”);

So it should bascially mean  
gotoAndPlay(“profile”); when it gets there. Ive been fiddling and i cant get it to work. Am I doing something wrong? Or was it a lie? Thanks in advance.
