May 24, 2003   Tip of the Week Mailing List
The Tip

About a month ago, a subscriber asked me how to use the External Media Browser (EMB) to change the path to all the external files in a piece to look relative to FileLocation rather than in the directory the files were originally loaded from. We tried all sorts of variations in the expression, but we could not get the EMB to accept the variable FileLocation plus the literal name of the file from when it was imported.

I recently inherited a group of files which used the SearchPath variable to solve this problem. However, this solution meant that users had to wait while Authorware checked the original location where the file was loaded from before the file checked Searchpath.

When you load a file and leave it linked externally, the External Media Browser has two fields that together contain the full path to the file. The top one contains the file name, and the bottom one contains the path to the directory where that file was when it was loaded. When you select a group of icons in the EMB, if the graphics were all loaded from the same place, the top field will change to a "*", and the bottom field will contain the original path.

These particular graphic files were stored in a subdirectory of the same directory that contained the Authorware file. However, the "Path" field in the EMB contained "\\SomenetworkDrive\ WorkGroup\ProjectCategory\ThisProject\Graphics\". Obviously, none of that applied anymore, except the Graphics directory. So I shortened it to ".\Graphics\", and the graphics now pop up immediately, without the long wait.

My thanks to Dan Wilson, for giving me the idea for this Tip. Dan, it's two months late, but maybe it can still help you.

Did you know?

You can change a variable "on the fly" to see what effect continuing from that point with the different value would have. For instance, you know that your variable is not getting set properly in Part 1, but you want to see if Part 2 will run correctly if the variable were set correctly.

To do this, press Ctrl+P to pause your piece. Open the variables window, and find your variable. Now, change the value in the "Current Value" field. Press Ctrl+P again to resume your piece with the new value.

TAW I files found

Last week I posted that I now have the TAW II files, and will be posting them as I get time. I also said that I was working to get the TAW I files.

I am happy to be able to tell you that Tom Adams was able to locate these files and send them to me. I'll be posting them as soon as I have time.


TAAC Accepting reservations

Mark Henry has been teasing us for weeks with announcements about TAAC, but until this week there was no way to sign up to go to TAAC. For more information on TAAC, visit Mark Henry Enterprises' new site.