Q: How do I reset the sprite so that it automatically adjusts to the
size of its contents? (_Before_ displaying the contents, that is...)
Hi Andreas,
You can use the obsolete sprite property stretch...
sprite(x).stretch = FALSE
Hm, this might be worth a test.
... or two lines of
Hi Andreas,
But if I resize the sprite (using width or rect or whatever) and load
new members into it, every image will be resized to the set sprite
dimensions.
Compensating for this creates all kinds of flickering and
inconssistent behavior for the end user. (See example* further down.)
Grimmwerks, seb,
The problem is to avoid flickering when loading the next member.
Grimmwerk's solution will not work because the old member is still in
the sprite when you begin scaling, and the sprite is automatically
redrawn when it's changed. What will happen is that the user sees the
old
At 15:57 +0100 02/21/2002, Andreas Gaunitz P11 wrote:
The problem is to avoid flickering when loading the next member.
Grimmwerk's solution will not work because the old member is still
in the sprite when you begin scaling, and the sprite is
automatically redrawn when it's changed. What will
Sorry, I haven't followed this thread, but I have a question you
about it. Are you executing a line like:
member(someMemberName).fileName = someFullFilePath
???
Irv
At 6:18 PM +0100 2/21/02, Andreas Gaunitz P11 wrote:
Mr Howdyman,
snip
I don't expect this to work because pausing the
I have just found (in the last couple of days) a bug in Director
related to this. The bug is that whenever you execute a line like
the one below (that sets the filename of a linked member), Director
refreshes the screen (in effect, it does an updateStage). If you
have the member in a
I have just found (in the last couple of days) a bug in Director
related to this. The bug is that whenever you execute a line like
the one below (that sets the filename of a linked member), Director
refreshes the screen (in effect, it does an updateStage). If you
have the member in a