It DOES work in projectors. I have used it this way for years. In my current project, my movies all link to many different castlibs, and they all link to a "User.cst" - a separate cast file for user data. I use it to store any data the user creates, or that needs to be saved for the user (for example - the user's state in any or all activities within the program). All other project cast files (code, assets, etc.) are shipped as protected cast files (.cxt files), but I leave the User.cst as a .cst file and do not protect it. It ships as an empty cast that I write into and read from.
For details on how I do this, read my article about "data cast members" on DOUG at: http://www.director-online.com/accessArticle2.cfm?id=442 If you are worried about the user who may happen to own Director opening the User.cst file and changing things, then you can apply an encryption/decryption algorithm when storing and retrieving data - so the data is not "readable" by a user. Irv At 4:49 PM -0300 5/2/02, Daniel Campos wrote: >Irv, > >This command does not work in projectors. >and my cst's files will be protected. > >:-( >[]s >Daniel Campos > >----- Original Message ----- >From: "Irv Kalb" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Thursday, May 02, 2002 2:03 PM >Subject: Re: <lingo-l> External Casts > > >> I store data in external castlibs that are linked to multiple movies >> all the time. As long as you do a "save castlib <yourCastLibName>" >> before moving to a new movie, everything should be fine. >> >> Irv >> >> At 9:34 AM -0300 5/2/02, Daniel Campos wrote: >> >Dear List, >> > >> >I tested to write some data in to external cats and go to another movie >with >> >the same external cast linked. the data was save. >> > >> >My problem is: I want to know if in some old computer (with a 16 mb of >> >memory), director will need to reload the external cast from the hard >disk, >> >losing all the data that I have change from the first movie. >> > >> >then I have to save this data in to text files before change movies and >load >> >the text files when i open the new movie. >> > >> >so, I have to do all this work ? or there is a way to be sure the >external >> >cast will be allways loaded in the memory ? >> > >> >> -- >> >> Lingo / Director / Shockwave development for all occasions. >> >> (Home-made Lingo cooked up fresh every day just for you.) >> [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!] > >[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!] -- Lingo / Director / Shockwave development for all occasions. (Home-made Lingo cooked up fresh every day just for you.) [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!]
