revert command

jim sims sims at ezpzapps.com
Thu Jun 11 12:14:54 EDT 2009


I'm experimenting with an updater mechanism.

I have a splash stack which has a substack named stack "RT"

On the splash stack I have a button with:

on mouseUp
   delete stack "RT"
   go stack url "http://www.ezpzapps.com/RevertTest.rev"
    revert
    start using stack "RT"
end mouseUp

I can see the the downloaded version appear but once the revert  
command is done the old one comes back (its easy to tell the  
difference as one has an image of a pirate and the other does not).

If I leave out the revert command the new version is open and in view,  
but does not become a substack of the splash.

What am I doing wrong?

sims




More information about the use-livecode mailing list