check the flash docs on loadMovie(). It doesn't return
Furthermore, if you are doing an IF comparison, you should
use two equals signs (==) otherwise, you are always going to get
true and you are going to actually assign the value of the second
item to the first.
if you want to work with intervals, check out setInterval().