(no subject)

Ken Ray kray at sonsothunder.com
Thu Sep 19 00:51:14 CDT 2002


Jerry,

You just use partial paths based on where "the directory" points to. Most
people will insert a chunk of code that sets the directory to the location
of their stack (while they're developing), something like:

on openStack
    put the fileName of me into tName
    set the itemDel to "/"
    delete last item of tName
    set the directory to tName
end openStack

Then, any video/images/etc. would get a "filename" that is the remainder of
the path; for example, if an graphic "dog.jpg" was in an "images" folder,
and the "images" folder was at the same level as the standalone (or stack),
you would set the fileName of the image in Rev to be "images/dog.jpg".

Hope this helps,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Jerry Thomas" <runrev at hotmail.com>
To: <use-revolution at lists.runrev.com>
Sent: Wednesday, September 18, 2002 6:22 PM
Subject: (no subject)


>
> I am a new user of Revolution. I noticed that both Videos and Images are
not
> embedded and need to connect with external files. This is easy when I'm
> building, the images and videos are right there on my hard drive. But when
I
> build to CD I need relative paths so that the images and videos I burned
to
> disc will play in anyones CD drive regardless of the Drive letter.  How do
> you create/insert relative paths in Revolution?
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list