# Problem with loadMovie

**URL:** <https://forum.kirupa.com/t/problem-with-loadmovie/80020>\
**Category:** flash\
**Created:** [February 18, 2005, 6:09pm UTC](https://forum.kirupa.com/t/problem-with-loadmovie/80020 "2005-02-18T18:09:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reeseeziggazagg](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@reeseeziggazagg](https://forum.kirupa.com/u/reeseeziggazagg)\
**Post date:** [February 18, 2005, 6:09pm UTC](https://forum.kirupa.com/t/problem-with-loadmovie/80020/1 "2005-02-18T18:09:20Z")

</div>

Hi  
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!  
ReeseeZiggaZagg
