>I would be very grateful to anyone who can help me with this problem: I
have
>a start movie which calls a MIAW when a user clicks a button. I would like
>to give the user the option of changing the background music and background
>image (changing the cast members. How would I do this to a dcr?
OK, first off, I'm not sure what you mean by dcr. If you are
referring to a Shockwave file, you will have to completely re-tool
your approach, because MIAW is not supported in Shockwave.
Otherwise you can perform any operations you want by using tell window:
tell window whatever
-- whatever you want it to do
end tell
You can also just add scripts to the MIAW and call them, but I prefer
the tell option. Often now when I use MIAWs they are deliberately
created as satellites to my main movie. I put a messaging behavior
into the script channel; it handles all the communication between my
main movie and the MIAW. This lets me keep things object oriented.
In that case I do calls to sprite 0:
tell window whatever
sendSprite ( 0, #DoSomeThing )
end tell
This takes a little practice -- it's not the kind of approach where
you can just go balls-out and begin slapping code into everything --
but man is it stable.
---------------------------------------------------------------------
Thanks for the info, Howdy-Tzi. To clarify what I am doing: yes, I did mean
a shockwave movie when I said "dcr". My problem is that I have only the
shockwave movie from a school project a year ago, and I want to update it
with better sound and graphics. Since I don't have the original DIR file
anymore, I thought of trying to change the cast members by making it a MIAW
and letting the stage buttons and external cast change the MIAW cast
members. I doubt this approach will work but perhaps you can suggest
something workable?
Thanks in advance
Mushtaq Farooqui
[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!]