# Problem with loadMovie

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

<div class="post-metadata">

### Author: ![imported\_reeseezigga](https://avatars.discourse-cdn.com/v4/letter/i/53a042/32.png) [@imported\_reeseezigga](https://forum.kirupa.com/u/imported_reeseezigga)
#### Post date: [February 18, 2005, 6:09pm UTC](https://forum.kirupa.com/t/problem-with-loadmovie/137959/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
