Gary Rosenzweig's

Developer Dispatch

News and Notes For Developers Using Flash, ActionScript, Director, PHP and JavaScript.


MY BLOGS
Developer Dispatch Blog
Flash Game U
iPhone Dispatch Blog
INFO & FEEDBACK
About Developer Dispatch
About Gary Rosenzweig
Gary Rosenzweig's Books
Feedback
Contact Gary Rosenzweig
SHARING
Add to Technorati Favorites
Add to Del.icio.us
Stumble Upon
LINKS TO MY SITES
CleverMedia
Fun Games at GameScene.com
MacMost
Director Online
LINKS TO MY FRIENDS
Tech Support from Ask Dave Taylor
Ask Leo
Amy Gahran
Custom Stickers
Dean's Director Tutorials
Flash Website Templates
Time 4 Learning
RSS FEEDS
Raw RSS
Add RSS to your My Yahoo


02/05/04

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.


Leave a Reply