XML menu - jumping to different scenes

I’ve been playing around with this one for a while, but I’m not a programmer and seem to be going around in circles.
I’m trying to use the XML dropdown menu to jump to different scenes within the flash file, but all I seem to be able to get it to do is reload the movie from the start.

This is a line from the XML file -

 <item name="Line" action="loadScene" variable="line"/>

And this is the bit I added to the AS -

Actions.loadScene = function(sceneVar){
  gotoAndPlay("sceneVar" , 1);
};

Not really sure why this is not working… Any suggestions??