Flash stops applying keyframe information to a MovieClip if any of its properties are changed?

405 Views Asked by At

Suppose I have a 3-frame MovieClip with a box (instance name "box"). Each frame applies a different blur to the box, so that it's a little blurred on frame 1, a little more blurred on frame 2, and very blurred on frame 3.

I can call "gotoAndStop" on any of the three frames, and the correct blur will be applied, and I can do this as many times as I want without problems.

HOWEVER, if at any point I change the width of the box for example "box.width = 100", then suddenly when I call "gotoAndStop" the keyframe information is no longer applied and the box's blur does not change. If I add a position change as well on frame 2, the same behavior arises... the position change works on gotoAndStop until I change the width of the box, then it no longer moves when I go to and from that frame.

Why does Flash stop applying keyframe information like this when I change a property like "width" on a keyframed object?

0

There are 0 best solutions below