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]