At 03:50 PM 7/26/03 -0300, you wrote:
Hi,

I've tried to use @, but I couldn't understand it's function exactly, since
it wont work as I wanted. If not ask to much, can you send me some example
in how to use it??

thank's

If your movie/projector may run either under Windowas or on a Mac, you can never be sure whether the path is going to be separated by \ or by :


One way to get around this is to determine the current path separator:

locPatSep = the last char of the moviePath
MyPathFile = the moviePath & "graphics" & locPathSep & "bimbo.tif"
You can use this when linking an extrernal cast member, for example, or when using FileIO.


The above two lines will work on both the Mac and Windows machines.

But another way to achieve the same thing is with this one line:

MyPathFile = "@/graphics/bimbo.tif"

The above line will work both under Mac OS and Windows. You can use this when linking an extrernal cast member, for example--but not when using FileIO.

You can also use @ to refer to a folder above the movie folder , or at the same level in a different branch of the tree by using multiple slashes more or less the way you use ..\..\graphics in DOS, e.g. "@//graphics/myfile.jpg." Lingo Dictionary has better examples, I'm sure.

Slava


Em 26 Jul 2003, [EMAIL PROTECTED] escreveu:

>Look up the @ symbol and the searchPaths in the Lingo Dictionary.
>
>S.
>
>At 12:19 PM 7/26/03 -0300, you wrote:
>>Oops, sorry I've clicked the wrong button in the other email :-/
>>
>>Hi list,
>>
>>I think this is a dummy question but It's frying my brain.
>>I have a folder with many dxr files. In another folder outside of this one
>I
>>have some images that I'm linking dinamically to those .dxr files. How I
>>need to make the path in order to link this images correctly??
>>Everytime I rename the root folder (where the two other folders are) or
>>change from mac to pc, the link to the images stops working.
>>
>>
>>Thank's in advance
>>
>>Rodrigo

[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