On Mar 3, 2004, at 11:08 AM, Kerry Thompson wrote:

What are you trying to do? There might be other ways.

I'm trying to read a file from a folder on the same level as my movie. E.g.: MyProgram MyCode start.dir UserData users.xml

I simply want to open the users.xml file from start.dir.

Yeah, I think I got that at the end of my other note. It's


"@//UserData/users.xml"

You're not going up a folder; you're moving down into a folder stored alongside your movie. Remember @ is the moviePath, not the applicationPath, so to move up, sideways and in you'd just do the above.

If you want to confirm the folder is there at all, you could try doing a getNthFileNameInFolder on @// or you could use the applicationPath as your starting point.


Warren Ockrassa | President, nightwares LLC [EMAIL PROTECTED] nightwares LLC | Consulting Programming http://www.nightwares.com/ Author | Director 8.5 Shockwave Studio: A Beginner's Guide Chapter samples | http://www.nightwares.com/director_beginners_guide/

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to