property myRedBoxDate, mySprite, spriteNum
on beginSprite me
myRedBoxDate = whatever date
mySprite = sprite(spriteNum)
if myRedBoxDate > startDate and myRedBoxDate < endDate then
mySprite.blend = 60
end if
end
That may require a little touch up, but that's the concept right?
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Gene Fritzinger
> Sent: Monday, June 11, 2001 4:58 PM
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> Having sprites check a list to see if blendshould
> be changed
>
>
> bhakti,
> Thanks, you're not missing anything, I am. This is my first time
> trying to do something like this and I'm a little unsure as to
> the best approach. You're correct, each sprite does know it's
> own property (myRedBoxDate), and at runtime the movie will also
> know the startDate (as a date object) and the endDate. The
> sprites therefor only need to know if their property
> (myRedBoxDate) falls within the startDate and endDate. Any suggestions?
>
> Thanks again,
> g fritzinger
>
>
> [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!]
>
[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!]