Re: revert command
On Fri, Jun 12, 2009 at 2:14 AM, jim simss...@ezpzapps.com wrote: 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? Your script is saying: - close the substack - download a new copy of the substack from the web - now go back to the original saved copy As Mark says, you need to have the sub-stack as a separate file. Then you need to download the new version and SAVE it - over-writing the original. Once you have saved the new version in the same location, the revert command will load in the new one, not re-load the old one. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
revert command
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 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revert command
Hi Sims, You can't revert a substack, or actually if you revert a substack, its mainstack is reverted too. From the docs: The revert command also undoes changes made to other stacks stored in the same stack file. That is, if you revert a main stack, all substacks of that stack also revert to the last save, and if you revert a substack, its main stack and any other substacks also revert. You could make the substack a stackfile, rather than a substak, of the current mainstack. That would allow you to revert it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Snapper Screen Recorder 2.0.1 http://snapper.economy-x-talk.com If you sent me an e-mail before 15 May and haven't got a reply yet, please send me a reminder. On 11 jun 2009, at 18:14, jim sims wrote: 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 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution