Variables used for 'paths'

Hi Guys

Hope all of you that are living in / have loved ones in London are okay - terrible news for us all :frowning:

But still, the world must keep going, as must my actionscripting.

I am making the following call…

on (release) {
	_root.imopen = "girl1";
	_root.girls.imopen.gotoAndPlay("in");
}

and it’s not working, it should, of course, be calling _root.girls.girl1.gotoAndPlay(“in”);

Can someone just point out what I’m doing wrong here and how to incorperate the variable “imopen” into the path.

Thank you.
jonny.