- JRVDr.John R.Vokey wrote:
> The following code works (and has always worked) in Metacard (MC), and
> Revolution (RR), both as a stack and as a standalone (and even over
> OSs), but not in DreamCard:
>
> In the card script of the first card:
>
> global thePath
>
> on openCard
> --
> -- Get/Set Paths
> --
> put the filename of this stack into thePath
> set the itemdelimiter to "/"
> delete the last item of thePath
> -- (other irrelevant stuff deleted)
> set the filename of image "Test" to thePath&"/test.jpg"
> -- (other irrelevant stuff deleted)
> end openCard
>
> In MC and RR, the path to the image is correctly specified and the image
> appears, but not in DreamCard. Tracking it down, DreamCard sets the
> path to the image as "/test.jpg", completely ignoring the global
> thePath. Why would DreamCard not set the global thePath?
Is the stack downloaded or cloned? In those cases the stack would have no fileName, giving the result described.
Otherwise, I haven't a clue. And even then, the behavior should not differ from Rev or MC.
-- Richard Gaskin Fourth World Media Corporation
--
There are 10 kinds of people: those who understand binary, and those who don't
_______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution