Creating a splash stack problem

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
jsburnett
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 121
Joined: Fri Mar 09, 2007 9:47 pm

Creating a splash stack problem

Post by jsburnett » Thu Mar 07, 2013 12:22 am

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

jsburnett
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 121
Joined: Fri Mar 09, 2007 9:47 pm

Re: Creating a splash stack problem

Post by jsburnett » Thu Mar 07, 2013 4:59 pm

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

Post Reply