you could make one global list & each movie can claim a slot for 
"it's" global data.  (sort of like taking a number in a deli).

global gSet, thisMovie

on startMovie
   if thisMovie = VOID then thisMovie = getGlobalArea()
   put thisMovie
end

on getGlobalAre
   if (gSet) = VOID then gSet = []
   repeat with i = 1 to 10
     if i > gSet.count then
       gSet[i] = i   -- (fill a slot when it gets claimed)
       return i
     end if
   end repeat
end


At 12:16 AM -0500 9/4/01, [EMAIL PROTECTED] wrote:
>Ah, Kerry, still kneedeep in your old muck. Thanks for the audio bit, but
>I've actually got to dynamically fix ram to it via xml import. More on
>this later..
>
>but the client wants to have multiple shockwaves to a page, each using the
>Audio xtra. Nevermind the inelegance...these people are not to be
>enlightened.
>
>Should I be concerned with multiple shockwaves each using the audio xtra?
>I also just realized that I'm keeping a global list called gLesson to keep
>track of a property list -- but that means that multiple shockwaves will
>'overwrite' a global if all are named the same, right? I believe I've
>talked them into assigning an individual identifier to the embedded dcr
>per each; can I bring in a lessonid, append it to the global name and use
>that from now on in some strange way? Perhaps a global list of these movie
>property 'proplists', then ...ah, I know. On load, check embed, write the
>id number to a membertext string. Then always refer to it's internal
>proplist via gLessonLists[symbol(member("mylessonid").text))]
>
>? Would that work?
>
>
>[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