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

Reply via email to