Help with Image and Video Player plzzzzzzzzzz

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

marielle
Livecode Opensource Backer
Livecode Opensource Backer

Re: almost there

Post by marielle » Wed Apr 25, 2007 10:48 pm

eg4am1 wrote:basically what i required was that one the user has sent the runrev file via FTP to the server there will be another application (made in runrev) running on the server which looks into a specific folder and if there are any runrev files (which have been sent by the user) there, it opens them up diplays them one after another after 15 odd seconds.
if you open a stack over a server, then this is not a normal file but a stack. Best way to handle this is

Code: Select all

go stack URL "http://www.example.org/data/mystack.rev"
I assume you get your list of files via php or is it that you have a cgi script running in runrev?

if one after the other every 15 seconds

Code: Select all

on serialOpening pFileList
  if pFileList is empty then exit serialOpening
  put line 1 of pFileList into tFilePath
  openOneStack tFilePath
  delete line 1 of pFileList
  send ("serialOpening" && pFileList) to me in 15 seconds
    -- you may have to change the quotes to get it right
end serialOpening

on openOneStack pFilePath
   if pFilePath is empty then exit openOneStack
   go stack URL pFilePath
end openOneStack

eg4am1
Posts: 17
Joined: Tue Mar 06, 2007 12:51 am

thnx

Post by eg4am1 » Thu Apr 26, 2007 4:02 pm

thanks for the quick reply marielle
.. about saving the stack yes you are right i need to save the current stack on which the user is working on and needs to saved so that it can be opened up again through runrev..

kind regards asim

Post Reply