HyperNext Studio

HyperNext Studio => General => Topic started by: AnonymousPostings on July 01, 2010, 11:27:24 AM

Title: Button Goto problems
Post by: AnonymousPostings on July 01, 2010, 11:27:24 AM
I am having issues when I run the program.  I have 7 buttons set to jump to different cards.  The cards are not opening when I press 5 of the 7 buttons.  Any suggestions?
Title: Re: Button Goto problems
Post by: Malkom on July 01, 2010, 11:31:58 AM
I'm very sorry but this is a bug in the last release of HyperNext 3.83 - if a card has no code in its script then the Goto initializer does not fire.

The workaround is as follows:-
- In the target card script -  replace the comment @Empty with almost ANY command -

Code: [Select]
@ an audible test
Beep

or

Code: [Select]
@ silent
Local x


This command forces the card to activate so Gotos start working again. You need this in each card with a Goto targetting it.

To edit the card - just click on it - and from the toolbar on the right hand side select the "Script" button.