Hi there! I’m working on a site which has hundreds of frames. Each frame has an extensive piece of script, in which a booktitle is repeated about 50 times. That title is unique to that frame. Right now, I’m copying the script to each individual frame and changing the title with seek & replace. That means I have about 1000 lines of script which are nearly identical. It would be sooo much better, if I could alter the title dynamically with each frame. I would have the ‘master’ script, and a small piece of script which targets the title inside that masterscript.
Like if the title is ‘daylight’, I now use this:
issue01.container_mc.loadMovie (“models/daylightT01.jpg”);
Is there a way to use 1 script along the entire timeline, like this:
issue01.container_mc.loadMovie (“models/-dynamictitle-T01.jpg”);
…and in the ‘daylight’ frame, I’d use something like “-dynamictitle- = daylight” to change the ‘generic’ booktitle -dynamictitle- to the ‘specific’ booktitle of that frame, causing the script to run the actions specific to that booktitle?
Thanks for reading this all ; ) Any help/suggestions much appreciated!