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

Reply via email to