gotoAndPlay - errors!

before you all shout - i am new to this so be gentle…

I have a variable set in my code navigationNum and what i want to do is gotoAndPlay a scene of that number.

So for example with out the variable name it would be:

_root.gotoAndPlay(“1”);

what i want to do and cant figure out is

_root.gotoAndPlay(navigationNum); but for it to go to “1”.

It might seam really basic but i am struggling :frowning: