I've been doing a number of modules for a client that include a few
dozen sound files in a folder "media." In the stack script I have used:
on setgMediaPath
globalgMediaPath
settheitemDelimitertoslash
puttheeffectivefileNameofthisstackintogMediaPath
deletethelastitemofgMediaPath
putgMediaPath & slash& "media"& slashintogMediaPath
end setgMediaPath
When I was making the first set (back in LiveCode 6?), they were saved
in the bundle in Contents > MacOS > media.
I've just made a new module for this client with largely the same code;
now LiveCode 8.1 saves the files in Contents > Resources > _MacOS > media.
So the standalone doesn't find the sound files unless I move them
manually after doing 'show contents' in the Finder.
Is this a bug, or should I be setting the path differently now?
thanks,
Curt
--
Sent from Postbox
<https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode