I have a one-frame movie, where I change bitmaps on the stage by assigning 
different bitmap cast members to the one sprite.

Even though the bitmaps are all different size, I've never had to change 
the sprite's dimensions: the sprite always adopted the dimensions of the 
bitmap cast member.

Then at one point I set the sprite's rect through Lingo, and now its rect 
overrides the dimensions of the cast members: they're all displayed in one 
size, the size of the sprite. I can overcome that by doing sprite().width = 
sprite().member.width, so it's not really a problem. But I still don't 
understand it.

Why did the cast member's dimensions overrode the sprite's dimensions 
_until_ I set the sprite's rect expolicitly through Lingo?

Do sprites have some kind of a limbo state in which their rect yields to 
the assigned member? If so, is there a way to restore this state of 
obedience in a sprite?

Slava


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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