importFileInto method

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Jan 12 16:57:36 CST 2005


On 1/12/05 4:53 PM, "Simon Neaves" <mail at simonneaves.com> wrote:

> Hi 
> 
> I have a problem with the director importFileInto lingo method.
> 
> I am using lingo to import an image file into a cast member. The image is
> located in a folder called 'images' which is in the same directory as the
> director movie. I am using the following code:
> importFileInto member "castMember", "images/picture.jpg"
> 
> This works fine on windows, but when I try it on the mac, it fails to load the
> image into the castMember. This method works on the mac if I locate the image
> in the ROOT directory and use
> importFileInto member "castMember", "picture.jpg"
> 
> but it doesn't work when the image is in sub-directory.
> 
> Should the path look different on a mac?

Yes. On mac paths are as

        name:name:name:filename.jpg


> I have tried images\picture.jpg and images.picture.jpg.
> 
> Any help greatly appreciated.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina mailing list