Think of something that you wish Authorware could do but it doesn't?  Let the our good friends at Macromedia know via the wishlist.

Please let us know if you find any of the materials on this site inappropriate or offensive. Please include the url and why the material should be reviewed.

Comments and questions about the site are also welcome. Please no Authorware questions, use the AWARE list.

Back

1047 - Why doesn’t my Test() not work off a CD?

by - Joseph Ganci


Here is my code under File in the properties box of the graphic:

=Test(MouseDown,FileLocation^"//GraphicsExt//AB1180A.jpg",FileLocation^"//GraphicsExt//AB1180B.jpg")

It works beautifully in the authorware file and even when I package it and run the .exe from my hard drive. When I cut a CD however, the graphics don't display. The GraphicsExt folder with the appropriate files is on the CD. What am I doing wrong?


First, you seem to be using forward slashes instead of back slashes. You should change the // to \\. Second, you don't need the first set of slashes after FileLocation. FileLocation ends with backslashes ready to go (see its value in the variables dialog box), so you're adding *more* backslashes, which seems to work OK under certain conditions but not under others. I think that's where your problem lies.

There are 0 reviews
Add your review
Back