New user question

Steve Jones stevejones at mac.com
Thu Aug 13 18:19:30 EDT 2009


on mouseUp
    go stack "VoluntTracker Volunteers"
    wait 3 seconds
    beep
    wait 3 seconds
    show stack "VoluntTracker Volunteers"
end mouseUp

I put the beep in to test to be sure it was running.

The error I get is:

button "New Volunteer": execution error at line 6 (Chunk: can't find  
stack), char 4


I've tried combinations of open, show, go, set invisible, and use the  
stack name and the stack ID.

Always the same error.

Steve




On Aug 13, 2009, at 5:10 PM, Richard Gaskin wrote:

> Steve Jones wrote:
>> Hello!  I am new to RR but have used SuperCard for many years an   
>> amateur and HyperCard before that.  I'm working on my first  
>> project  and I had a question.  I have a stack with 2 substacks.   
>> (I love the  idea of substacks, btw).  From the main stack I want  
>> to open a  substack but keep it invisible,  then later show it.  In  
>> SuperCard it  would be:
>> open invisible project projectName
>> show project projectName (or:  set the invisible of project   
>> projectName to true)
>> I seem to be able to use
>> open invisible stack stackName
>> at least I don't get an error.  But later in the script when I try  
>> to  show or set the visible of the stack to true, I get an error  
>> that the  stack can't be found.
>> What am I missing?
>
> What do those lines that are throwing errors look like?
>
> --
> Richard Gaskin
> Fourth World
> Revolution training and consulting: http://www.fourthworld.com
> Webzine for Rev developers: http://www.revjournal.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list