I'm trying to create a file tracking the rotation of a 3D model. So far the model rotates, tracks the rotation, and writes the rotation correctly. The problem is that I can only get Director to write the file name using a set value. For example, this is the current piece of the script that I'm using to create the output File name:
outputFileName = the moviePath &"test.txt"
I have a textInput box at the beginning of the movie named ParticipantID. I want the text value from that box to be the filename, but I can't get the value from the box. The current script is:
partIdStr = member("ParticipantID").text
outputFileName = the moviePath & ParticipantID & ".txt"
When I do this, though, the filename is simply ".txt". There is no value to the ParticipantID variable even though I have put in a set of numbers/letters. Any ideas?
Thanks,
Anthony
outputFileName = the moviePath &"test.txt"
I have a textInput box at the beginning of the movie named ParticipantID. I want the text value from that box to be the filename, but I can't get the value from the box. The current script is:
partIdStr = member("ParticipantID").text
outputFileName = the moviePath & ParticipantID & ".txt"
When I do this, though, the filename is simply ".txt". There is no value to the ParticipantID variable even though I have put in a set of numbers/letters. Any ideas?
Thanks,
Anthony