Page 1 of 1

Clicking anywhere takes me to the mainstack.

Posted: Wed Dec 31, 2008 12:32 pm
by Omar319
Hi,
I've created a stack made up of several cards, but clicking in a blank area or anywhere that is not a button or a link takes me back to the first card. I inported a video and this won't play. Clicking it only takes me to the home card.

Why does it do this and how do I stop it?

Thanks.
Omar

Posted: Wed Dec 31, 2008 12:37 pm
by Mark
Hi Omar,

Apparently, you have a script somewhere, similar to

Code: Select all

on mouseUp
  go cd 1
end mouseUp
Where do you have this script?

Best,

Mark

Posted: Wed Dec 31, 2008 3:35 pm
by Omar319
Hi,
I have this sort of script for every button on each card. But When I click outside any button it takes me back. I've checked all of the card and stack scripts and there's nothing. I haven't made any.
There is one thing that might be causing it.
I have an image that I use as a banner, and that is a hyperlink to the first card. As it is grouped it appears on every card, but it shouldn't make the whole card a hyperlink should it?

Omar

Posted: Wed Dec 31, 2008 3:49 pm
by Mark
Hi Omar,

Apparently, you accidentally edited the script of the group rather than the script of the image. The hcBehavior of the group is probably set to true. As a result, all card messages are also sent to that group before they arrive at stack level and when you click on the card, the group gets a mouseUp message, which executes its script.

You should be able to solve it by moving the group script to the script of the image object.

Best,

Mark

Posted: Fri Jan 02, 2009 6:19 pm
by Omar319
Hi thanks for replying.
Ungrouping the picture solved the problem, even though the banner disappeared from all slides it's easier to copy and paste them.

Thanks for your help,
Omar :)