[dirGames-L] overlaying flash with qt

Thomas Higgins thiggins at macromedia.com
Tue Sep 6 10:53:25 EDT 2005


> shouldn't it be enough to turn the flash sprite non-dts?
> (winxp,dirmx2004)

Nope, it's not enough. All non-DTS sprites are drawn and composited in
the offscreen buffer before being drawn to the monitor, DTS elements do
not go through that process and instead are drawn straight to the
monitor by the asset Xtra controlling them. The presence of one DTS
sprite with another overlapping sprite (DTS or not) will induce flicker
as you have two items (the player and the DTS asset Xtra) both trying to
draw into the same location on the monitor and that's what causes the
flicker. Having two DTS sprites makes it worse but it will occur easy
enough (as you've found) with only one DTS sprite. The whole entire
point of going DTS is to get enhanced performance but NOT compositing
that sprite with others (in the offscreen buffer), in this case you
actually do want to composite it with other sprites and thus that
defeats the purpose of going DTS. Either make all sprites non-DTS or
avoid overlapping as those are the only ways to ensure proper behavior
(non-flickering).

Cheers,
Tom Higgins - Technical Product Manager
Macromedia Director and the Shockwave Player
http://weblogs.macromedia.com/thiggins/

... 



More information about the dirGames-L mailing list