> I think your argument is that setting Director to do as little as > possible will mean that as much of the time taken was clearly taken > by the Flash sprite.
Pretty close. Real-world conditions. Your Flash sprite isn't the only thing on stage, so there are other things to draw. The faster the frame rate, the more time Director has to spend servicing other sprites, and the less idle time it has to service the Flash sprite (and idle time is when the Flash sprite is allowed to do its own thing). > I can counter that argument by saying that if I > make the Flash sprite smaller it goes a lot faster, meaning that the > proportion of time taken by Director is small. I'm not sure of that. Wouldn't it just mean that the smaller Flash sprite animates faster? > My iMac isn't as fast as my PowerBook, but even it gets through those > frames in 15 ticks. If I puppettempo 30000, that drops to 8 or 9 > ticks. I'm certain that if a Flash sprite that takes 680 ticks to > draw all of its frames this way, 665 of those ticks are down to the > Flash sprite. Again, only if there's nothing else going on. Refresh my memory--is the stage redrawn on every frame, or only the parts that have changed? I know updateStage forces a complete redraw. Don't you get that on prepareFrame as well? Typically, you'll have some buttons waiting for mouse events, maybe some other Lingo executing in every frame, especially when you're looping. The more times per second those things happen, the less time Director can give to the Flash sprite. > Another concern about not using lock-step to test the Flash > performance is that the Flash movie might skip frames to play at its > intended frame rate. That would only happen, I think, if you have audio in the Flash sprite. Flash will skip frames to keep up with audio (if you set it to do so), but otherwise I think it will show every frame, won't it? > Whatever the case, my DTS and non-DTS test were done the same way, > which should mean that the test is valid. I'm not saying your tests aren't valid, just that you're testing for something different than I would. Your tests show one important aspect of the effect of DTS. I'm interested in other aspects. Not disputing your observations, just wondering if the results would be different with a different test. Cordially, Kerry Thompson [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
