3 Replies Latest reply on Apr 2, 2007 7:02 AM by Newsgroup_User

    how to create and attach a castlib to a movie

    Level 7
      Hi,
      I would like to know if there is a way to create and attach an external castlib to a movie with lingo.
      I need to insert a new cast in about 2 hundred movies...
      Thanks
      Paolo
        • 1. Re: how to create and attach a castlib to a movie
          Level 7
          I haven't dealy with casts that way for some time...

          As I recall there's no official supported way to generate external
          castLibs on the fly, the save castLib command can save changes made to
          a cast on the fly, only could use the free fileXtra to duplicate an
          existing external cast (perhaps a blank one), renaming it. The newly
          created castlib could be switched in place of a preexisting linked
          external castlib using castLib(whichcast).fileName
          • 2. Re: how to create and attach a castlib to a movie
            Level 7
            lao <mazza_noSpam__please_@viuulenza.com> posted in
            macromedia.director.lingo:

            > Hi,
            > I would like to know if there is a way to create and attach an external
            > castlib to a movie with lingo. I need to insert a new cast in about 2
            > hundred movies... Thanks

            There used to be an Xtra by Penworks (I think) that could do that, but it
            seems to be gone now. You could look around the Mile High Table O'Products
            http://www.updatestage.com/external/the-mile-high-table-oproducts.html

            Speaking of updateStage, I seem to recall Gretchen McDowell (former owner)
            mentioning a method you might try. I think it went something like:

            Save an external castLib to a different filename.
            Then use importFileInto to import that castLib to a member in a different
            castLib.

            Or maybe using new() to create a castLib member, then set its filename to the
            new external castLib.

            I never tried it and my memory fades fast, but try something along those
            lines.

            If that method doesn't work, you can use the vList Xtra to save/load
            everything that a castLib would hold and more.


            --
            Mark A. Boyd
            Keep-On-Learnin' :)
            • 3. Re: how to create and attach a castlib to a movie
              Level 7
              Hi,
              finally I got it...
              I tried for a while with the new() command but I wasn't good to find the right way to create a new castlib.
              So I tried to find the CastLink Xtra by Penworks corporation, but the company has gone and I can't find it anywhere.
              Finally I found in an old stuff the CastControl xtra by Paul Farry that do exactly what I need: attach and detach castlibs on the fly in authoring mode.
              It's a 1996 xtra...
              If anybody needs it let me know.
              Paolo