----- Original Message -----
From: "nik crosina" <ncrosina gmail.com>
> Noisecriminal,
> I thought of that but I must have a very blond moment
here, but ....
> you mean by doing e.g.
>
> libScript = castLib("scripts"), then just
letting the 'language'
> sprites pick 'their' members out of the cast in the
normal way as they
> would be otherwise? Sounds great - will try tha as
well.
Yeah thats the basic idea, but its been ages since I
actually did this so I
can't give exact instructions.
I think essentially using this should work
castLib(whichCast).fileName =
"c:/filename_of_cast"
However it gets slightly more complex if you want to do this
efficently or
in shockwave.
By that I mean if your langauge casts are large (filesize)
you don't want to
download the default cast only for the user to select the
other langauge and
wait to download that cast. Then there is the download or
preloadnetthing to
deal with too.
With swapping casts as long as the members are in the same
cast slot in both
langauge casts then which ever cast is loaded those members
will appear in
the sprites.
Its not really that complicated, just requires a bit of
experimentation your
end to work out the best method. However swapping casts in
this fashion is
one of the benifits of Director.
Noisecrime 2005
http://www.noisecrime.com
a>
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|