# Using variable to navigate movie

**URL:** <https://forum.kirupa.com/t/using-variable-to-navigate-movie/142715>\
**Category:** Uncategorized\
**Created:** [March 30, 2005, 11:53pm UTC](https://forum.kirupa.com/t/using-variable-to-navigate-movie/142715 "2005-03-30T23:53:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonbid](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jonbid](https://forum.kirupa.com/u/jonbid)\
**Post date:** [March 30, 2005, 11:53pm UTC](https://forum.kirupa.com/t/using-variable-to-navigate-movie/142715/1 "2005-03-30T23:53:04Z")

</div>

i have put my portfolio fla up so that you can see what i am aiming for. Unfortunately on the end frame, i have the :

“if (services=true) {  
gotoandplay(“services”,1)  
}”

etc. but this does not seem to work, it just goes to the next scene in the movie?

am i missing something realy daft?

it seemed to work when instead of gotoandplay, i used getURL???

[http://jonbid.co.uk/my portfolio.fla](http://jonbid.co.uk/my%20portfolio.fla)

(not sure if this url will work? not done this before) :moustache
