Problem with setInterval(). Help! please

Hi!
I have this code to load an external swf and changing it’s _alpha.
Problem is that the function doesn’t works on the clip.
mx-guest2004
[AS]
_root.createEmptyMovieClip(“butt”,21);
loadMovie(“photobutton.swf”, “butt”);
setProperty(“butt”, _alpha, 0);
function reAlpha(clip, targ, speed) {
if (clip._alpha<targ) {
clip._alpha += speed;
} else {
clearInterval(reAlphaInt);
}
}
reAlphaInt = setInterval(reAlpha, 20, butt, 100, 5);
[/AS]

Change the alpha after the swf is fully loaded;)

scotty(-:

Thanks Scotty, the button works now. But I have another problem with the same code inside the button.
You know, I think there is something with the path.
I have a button loaded into the main movie (OK). This button loads an external swf into the main movie. I want to increase this external swf’s _alpha by this code.
I use this code:
[AS]
on (release) {
_root.createEmptyMovieClip(“album”, 1);
_root.album.loadMovie(“mymovie.swf”);
setProperty(“album”, _alpha, 0);
function reAlpha(clip, targ, speed) {
if (clip._alpha<targ) {
_parent.clip._alpha += speed;
} else {
clearInterval(reAlphaInt);
}
}
setInterval(reAlpha, 20, album, 100, 5);
}
[/AS]