This content has been marked as final. Show 4 replies
To make a global variable, just declare it. To make it start with a
given value, declare it in a startMovie script.
Then, to increment it every time a button is clicked, increase it by one:
on mouseUp me
You must declare the variable as a global in every script that uses it.
Make sure that the startMovie handler I gave you is a #movie script (not
a behaviour)- then it will reset every time you start it.
>>Now if we can just get to knowing where it's breaking. Is anything working at
all? That would be great...
>>Does the projector start? Yes, the projector starts, but does not display the correct images. Stays "stuck" on one or two images.
>>Any error codes? No error messages appear.
> openFile(myFile, filename, 1) -- Opens file that user selected
>>Does this line execute if it needs to (SHOWNAME and filename are void)? Yes
>>Do you see the file open dialog box? I don't usually see the box when it's running. I don't see it even in the deffective Mac version.
> alert error(myfile,status(myfile)) -- Displays error message
>>Does your fileIO error checking throw up an alert? No alert messages.
What, exactly, is not working? When the projector starts (it does start), I see the initial screen that provides a choice of show to see. Upon selecting a show, spacebar should initiate the slide-show (images). What images are shown is listed in the text file. This does not happen. That is to say that the "action" (dissolve time. position, size) do occur, but there is no choice of images. Could the problem reside in the actual text file?