I just made a simple stack with one function:

function give
  go stack (the short name of me)
  return 21
end give

I named the stack "libGive" and saved it.

I then made another stack, with one button, the script of which is:

on mouseUp
  start using stack "libGive"
  put give()
end mouseUp

Result: stack "libGive" came to the front, and the message box showed "21".

I'm on a G4 laptop running 10.4.9

So it doesn't seem like there's some inherent (to rev) problem with doing what you're doing. Perhaps there's something else going on that might have caused a crash? Maybe the library stack coming to the front upsets something in the code in your main(calling) stack?

Best,

Mark


On 18 Jun 2007, at 19:08, Dave wrote:

Hi,

I have a library stack which is working just fine (I start it up using the "start using" command). I now what this stack to be displayed as the front stack when one of it's functions is called so I inserted this into the function in question:

go to stack short name of me

Which causes Revolution 2.8.1.470 to crash (unexpected quit). This is on a G5 running 10.4.9.

How can I get the stack to be the top most window when this function is called?

Thanks a lot
All the Best
Dave

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to