List and lingo
Can anybody help me?
I hvae written a moviescript:
global stilllist, currentview
on startmovie
createstilllist
currentview=member "a.1" of castlib "video"
end
on createstilllist
stilllist=["a.1", "b.2", "c.3", "d.4", "e.5", "f.6"]
end
on setplace theplacename
newview= (currentview).char[(currentview).charscount]
currentview= newview&"."&oldirection
sprite(1)memberNum=member(currentview).number
updatestage
end
- and attached 5 behaviors to 5 different buttons ex:
on mouseUp
setplace("b.2")
end
Whenever a button is clicked a videofile among 5 possible (the first 5 cast
members) videofiles should appear on the
stage. The first item in the list (sprite 1) is an invisible cast member. It
works if I only use one single cast (and change the line -
currentview=member "a.1" of castlib "video" to currentview=member "a.1". The
problem pops up when I want to put all the 5 videofiles in a separate cast
named "video".
Lene
[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!]