Page 1 of 1

Creating a splash stack problem

Posted: Thu Mar 07, 2013 12:22 am
by jsburnett
Hi,

I've created a splash stack and seperate livecode file to save data to.
I've followed the example in the lesions.
I've used this code into the 'splash' stack:
on openStack
open stack "Main Application.livecode"
close stack "Launcher"
end openStack
(Launcher = my splash stack. Main Application.livecode = my livecode file).
Both are in the same folder.

I've noticed that if I open Main Application.livecode and close it, the Launcher will open it. If I choose to purge stack and window on close, it fails to open Launcher.

Any ideas?

thanks John

Re: Creating a splash stack problem

Posted: Thu Mar 07, 2013 4:59 pm
by jsburnett
Hi everyone,

Thank you for taking the time to read this.

I am 'telling' on myself.

I've found the problem with my 'code'. I didn't appreciate the differences between the stack name (under the stack inspector) and the file name (as listed in the folder, or in this case Windows 7 folder). I did a little investigation and noted that the when using "the files" in "the defaultFolder" the stack name did not equal the file name. A quick change and presto.

Hope this helps someone new like me.

Thanks again,

John