Hi
I have a frame in which I randomize a bitmap (either "303' or 303a")
but the frame script is giving me an error and I don't know why.
Here is the script I am using:

on beginSprite me
  thelist=["303","303a"]
  ran=random (thelist.count)
  sprite(1).member = thelist[ran]
end

on exitFrame me
  go to the frame
end


Here is the error I am getting

Script Error: Cast member Name expected
sprite (1). member = theList[ran]

"303a"

I can use a hand to figure this one out.
thanks
Mel


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


[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