Does sprite(1) not exist before you run this script?

Charlie Fiskeaux II
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
cell: 859/312-3883


----- Original Message ----- 
From: "adam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 24, 2001 3:45 PM
Subject: Re: <lingo-l> from cast to stage


sorry if you have already received this message but my ISP's mail servers
went down this afternoon and I'm not sure if it got through ok....

hey list,

this is how I dynamically create sprites on the stage.  I think it's
unsupported but I've never had any problems with it.

<code>

on beginsprite me
  sprite(1).visible        = true
  sprite(1).type           = 36 --bitmap type
  sprite(1).ink            = 36 --background transparent
  sprite(1).backColor      = 0
  sprite(1).moveableSprite = false
  sprite(1).foreColor      = 255
  sprite(1).member         = member("picture 1")
  sprite(1).puppet         = true
  sprite(1).trails         = false
  sprite(1).blend          = 100
  sprite(1).loc            = point(320,240)
end

on exitframe(me)
  go to the frame
end

</code>

The sprite will span the whole stage I think, if you want to remove the
sprite do - 

sprite(1).membernum = 0

hope this helps,
take it easy

adam


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

Reply via email to