Hi I am trying to make a banner that will cycle through images within and animate them. The rest of the code works the pictures spawn where they need to be and how they need to be and the on rollover rollout and release commands work just fine. So I tried putting an on enter frame for the MC to see if that would allow me to do what i needed. I am using set interval to try to get my code to progress because there is only 1 frame. I would like to do this through AS but if any one has suggestions outside of AS that would be great aswell.
Heres my code for the on enterframe
target_mc.onEnterFrame = function() {
delay = setInterval(increasesize(), 100 * (k + 1));
function increasesize() {
this._width += 30;
this._height += 15;
delaye2 = setInterval(decreasesize(), 200 * (k + 1));
function decreasesize() {
this._width -= 30;
this._height -= 15;
clearInterval(delay);
clearInterval(delay2);
};
};
};