This content has been marked as final. Show 6 replies
Are you saying:
1. Flash sprites are persisting in a sprite channel after they have been
removed from that channel?
2. DV sprites are flickering when they begin to play?
3. If you move to a new frame where a Flash sprite exists, that other
sprites will fail to display?
Adobe Community Expert
More point 1& 3 than point 2, the Flash sprites are not removing themselves when I jump to a frame that does not have them on anymore. Then I use the technique of setting sprite 1 invisble then use updatestage and then put sprite 1 visible again and I get a flicker.
But work around I figureds out since my last post is to pause on a blank frame while I do this and then jump to my QT video and that reduces the flicker.
Point is MM and Adobe need to fix this as is a major limitation of using Flash in Director and let's face it, it's one of the few reasons to keep usigg Director the fact it can play back many different medias at once. So let's get one of the major ones, Flash, properly integrated, are you listening Adobe!
Hope you are
I don't know who suggested this, but more reliable is setting the
backgroung color of the stage to itself forcing a complete redraw of the
entire stage area (although maybe the above does much the same thing):
the stageColor = the stageColor
As for QT flashing, this too has a simple enough work-around: move the
sprite offstage for a frame while the QT engine initialises, then move
it back for display - something like:
-- behavior attached to QT sprite
on beginSprite me
my = sprite(spriteNum)
myLoc = my.loc
my.loc = myLoc + 10000
_initialised = 0
on exitFrame me
if _initialised then exit
_initialised = initialised + 1
my.loc = myLoc
Just a little side note here. I recently found that there is a better
way that using the good old
the stageColor=the stageColor
You see, the stageColor is an indexed color with a value from 0-255 (I
think). It does not get the full range of RGB colors. I found that
when I used that statement, my background color often changed slightly
unless it was on a pure black or white background. A better way is to
use this command which does the same thing, but keeps the actual color
(the stage).bgColor=(the stage).bgColor
since the .bgColor property is a full on color object like
Thanks for these tips guys. Though surly moving a Direct To Stage sprite off screen and back again would not achieve removal of the flicker as doesn't QuickTime have to cut a whole in the stage to place the video in it hence getting the flicker?
> surly moving a Direct To Stage sprite off
> screen and back again would not achieve removal of the flicker as doesn't
> QuickTime have to cut a whole in the stage to place the video in it hence
> getting the flicker?
Try it and see - it's a longtime recommendation for the issue you describe