This not returning correct value

function func_mainScrImg(e:Event)
{
    for (i = 0; i<p.n; i++)
    {
        if (this == p.movie*)
        {
            p.main.scr = new stage["img"+i]
        }
    }
}

if I trace (this.name) its root1

if I trace my movieclips (p.movie*) its instance 12-22)

this is the event listener I added to it

p.movie*.addEventListener(MouseEvent.MOUSE_DOWN, func_mainScrImg)

now, it seems fine to me, but doesn’t work? it should check properly

any idea’s what im doin wrong?)