Quicktime player and relative path
ambassador at fourthworld.com
Sat Jan 8 18:43:26 EST 2005
Scott Rossi wrote:
> Recently, duane poncy wrote:
>>I have tried to build my first standalone with Rev 2.5. My
>>program needs a seperate mp3 to function, but the player
>>did not show up on my stack in the standalone.
> Make sure you know what the path is relative to: your stack or the engine.
> When you work in the IDE and use a relative path, the path will be relative
> to the engine, which is in the Applications folder, unless you explicitly
> reference a path to your stack. Once you've built a standalone, the engine
> is now a part of your stack which is likely in a new location (not the
> Applications folder), so the relative path will be different.
> In my work, I usually build absolute paths based on the fileName of the
> stack, storing it for later reference.
This is common confusion, easily accomodated of we leverage the
nearly-universal understanding of HTML paths and provide an option for
media references in stacks to work the same, relative to the stack file
rather than the potentially-ever-changing current directory.
Please consider voting for enhancement request #2490 to make this
simpler in future versions of Rev:
Fourth World Media Corporation
Rev tools and more: http://www.fourthworld.com/rev
More information about the Use-livecode