Hello Bjarne,
I use also separate external cast lib to translate but I use Three for two languages
(not QT but I think it'snot the problem).
One cast lib ,the actors of which are in the score (D_Transfer.cst for example with
english actors)
a second one ,the actors of which are the same (identical castlib) (D_English.cst)
a third one,the actors of which are the french actors (D_French.cst)
on TradActors
if glangage="F" then
newfilename="D_French"
else
newfilename="D_English"
end if
castlib("D_Transfer").filename=newfilename
end
it works
what you can see is that the actors of D_Transfer are those of newfilename and if you
modify something in an actor of one of these cast libs you obtain the same
modification in the other.
A+
Serge
Bjarne wrote:
------------------------------
Date: Wed, 14 Feb 2001 23:05:18 +0100
From: "Bjarne Nyquist" <[EMAIL PROTECTED]>
Subject: <lingo-l> QT in External Castlib
Hi list
So I have this project that has about 20 QuickTime movies.
In the start phase of the app the user selects between two languages, so there are two
sets of movies.
I decided on using two separate external castlibs, one for each language, and switch
these according to the users choice of language.
But it as soon as I switched castlib all file refs to the QT movies were lost. If i
ran a movie without switching castlib everything was A OK. The user switched
language... no QT. Not even if the user switched back to the language that worked
seconds earlier.
Aftes hours of trying to figure out what was going on i have now moved over to a new
strategy where the QT movies are stored in separate folders depending on language. I
use one INTERNAL castlib for all movies and set the fileName property of each member
according to the choise language in a beginSprite handler on each sprite that hosts a
QT movie.
This works great but i can´t stop wondering what was going on in the initial solution.
This is running on Windows NT.
Is there a problem with external castlibs and QuickTime on Win NT?
Bjarne
_______________________________________________________
If it's true that we are here to help others, then what exactly are the OTHERS here
for?
Bjarne Nyquist
Researcher, Lingo Programmer
The Interactive Institute, phone: +46-(0)8 783 24 74
www.interactiveinstitute.se
[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!]