> When you use forward slashes are you then using relative paths 
> starting with "@"?
> Apart from http paths I think, forward slashes are only 
> allowed with "@".

Well, I am using pre-existing XML files that are used with a web-based
application, hence the forward slahes.  A duplicate copy of the images
the XML was referencing are included in the same directory as the movie,
so I was just setting the fileName of the member to the moviePath & the
relative path XML string.  It allowed me to do it just fine without the
"@". However, I think this was my needed ray of light.  It makes
absolute (or is that relative) sense.  

> It is my experience, that setting the fileName with a relative path, 
> and then 'getting' the fileName from the member, returns the absolute 
> path with platform-specific delimiters.
> The only exception I know of was with D6.5's weird QT3 
> implementation. Are you sure of your observations and operations?

I'm absolutely sure of the results in the message window.  Here is a
simple test (with the "@" it works fine):

on startMovie
  
  put member("TestFName").fileName
  member("TestFName").fileName = "images/test.jpg"
  put member("TestFName").fileName
    
end

Output:

-- "C:\Temp\top_light.jpg"
-- "C:\Temp\images/test.jpg"

Even the PI shows it as "C:\Temp\images/test.jpg" and if you click on
the little "..." button, Director ignores it until you fix the path.  

So, my lessen for today is: don't try and program when your brain is
fried.  


> Sorry, I need all the light myself.

Insert witty quip here.

Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group


[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