Shockwave 3D Multiple Sprites Bug

Here’s one that only happens on Mac OS X, in Shockwave. I’ve got four 3D sprites on the stage. The idea is that each shows a model and the user selects a model by clicking on it. But on the Mac, it crashes after the click.

I narrowed it down to the fact that Shockwave needs to clear off 4 3D sprites at once. The crash happens when the “go to frame” command is executed, but I can recreate it by setting all 4 sprite memberNums to 0 as well.

So to fix, I write quick behavior that gets rid of one sprite per frame, and then does the “go to frame”. So the button click puts into action a 5-frame sequence. Interesting.

Posted on February 5, 2004 at 4:39 pm by Gary Rosenzweig · Permalink
In: General