go stack URL

Jim Lambert jiml at netrin.com
Thu Jul 19 23:24:36 EDT 2007


You have a stack 'mystack.rev' which has a player having a filename of 
'mymovie.mov'.
You upload both to a webserver.
Then you build a client app that calls:

        go stack URL "http://www.example.org/data/mystack.rev"

The stack gets downloaded into memory. At this point its long name is 
simply the the short name of the stack and it has no filename since it 
hasn't been saved locally.

In order to get the player to play, you'd need to change its filename 
from
    'mymovie.mov'
to 'http://www.example.org/data/mymovie.mov'

Easy enough. Since you called the stack in the first place with the 'go 
stack' command you could have previously extracted the movie's path 
from the stack's pathname.

This is a longwinded prologue to a simple question.
Is there any other method to know from whence a downloaded stack came?
Does Rev, itself, keep some internal address of a stack's location that 
has been loaded into memory from an URL?

Thanks!

Jim Lambert


More information about the use-livecode mailing list