Thanks, Anan,

I do use the updateStage, see my original post. Without puppetting, I still don't see the bitmap member that my Lingo assigns to the sprite. I see the text member that was assigned to it previously. The Message window and the Object Inspector all report that the member attached to the sprite is a bitmap, yet I see text, even after the updateStage--unless I puppet the sprite first.

Thanks, Buzz, I, too, thought it was a quirk, and of course I rebooted the machine. But this is consistently happening on several computers (as a projector, under Win2K) and on my authoring Win XP machine in authoring.

The movie is kind of heavy and full of handlers and stuff (tens of thousands of lines of Lingo), maybe that has something to do with it.

S.

At 09:10 AM 7/30/03 +0530, you wrote:
> But this simple sequence no longer works for me (in projector or in
> authoring). After the second command, I still see the text on the stage,
> even though the Message window tells me the sprite's member is a bitmap:
>

Try using just the updatestage command without using puppetsprite.

sprite(1).member = member("MyText", "Texts")
sprite(1).member = member("MyBitmap", "Bitmaps")
updateStage

My bet is that this should work.

Regards,
Anand Ravi

Slava's original post:


This used to work without puppetting

sprite(1).member = member("MyText", "Texts")
--you see the text of the member on the stage
sprite(1).member = member("MyBitmap", "Bitmaps")
updateStage
--you see the bitmap on the stage

But this simple sequence no longer works for me (in projector or in authoring). After the second command, I still see the text on the stage, even though the Message window tells me the sprite's member is a bitmap:

put sprite(1).member.name
--"MyBitmap" --BUT I see the text--the stage hasn't been updated.

This solves the problem:

sprite(1).member = member("MyText", "Texts")
puppetSprite 1, true
sprite(1).member = member("MyBitmap", "Bitmaps")
puppetSprite 1, false
updateStage
--I see the bitmap on the stage

[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