Problem with loadMovie

I have a sliding menu, and need to loadMovies when specific clips are in specific positions.
For gallery, for example, the code I’m using is:

if (xTargetSLI = 350) {
loadMovie (“gallery.swf”, 1);

But with that code, gallery.swf loads by itself, regardless of the position of SLI.

Can someone tell me what I’m doing wrong?? Thanks!