Thx for all members in the list who helped me a lot solving this puzzle...
This is fun !



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas Higgins
Sent: Friday, May 07, 2004 11:46 PM
To: '[EMAIL PROTECTED]'
Subject: RE: <lingo-l> method for fullscreen

> Try the stagecolor=the stagecolor.  That worked wonders for my 
> situation, although that was dealing with a Flash member.  Could fix 
> your problem here too.

Given the problem description the above sounds about right. Remember that
each frame Director only redraws pixels it sees as "dirty" (those that have
changed since the last frame was drawn). Once you set a sprite to DTS then
Director leaves the drawing of that sprite's rect to the Xtra. So when you
leave a frame that had a DTS sprite, or you do a resize, then Director
doesn't know that those pixels are "dirty" and so they're not redrawn,
leaving you with DTS-remnants and overlapping images as described.

Calling updateStage() won't do it as that will only cause a redraw of dirty
pixels, so your DTS-remnants stay put.

Setting the stageColor equal to itself does the trick because in one move it
dirties _every_pixel_ on stage causing a complete redraw of the stage,
removing any DTS remnants still hanging around.


Cheers,
Tom Higgins
Product Manager - Director Team
Macromedia

... 
[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!]




[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!]

Reply via email to