Hi Christopher,

> Metacard is great at putting together easy elements fast but the one thing
> that I miss from Director 8 and others is the ability to make a reliable
> roll-over. 

Roll-overs in Director (Ooops the D-word ;-) HAVE to be scripted, too.
(If you do not want to use these UGLY pre-made behaviours ;-)

And it is very easy to do that in MC !!!

>The hilite icon feature really does not hit the spot.

The hilite icon is supposed to be displayed when the mouse
is "down" inside the button.

EXAMPLE:
(Images can be displayed INSIDE a button with its icon-property !!!
Far more flexible than showing/hiding images !!!)

Take 3 images and import them into MC:

image 1 for the normal btn-state
image 2 for the roll-over
image 3 for the hilite

Write down the IDs of these images
Properties -> Name

Then you can even hide these images.

In this example i will use these IDs:

ID 1003  for image 1
ID 1004 for image 2
ID 1005 for image 3

In the Porperties-palette -> Extras
set the icons for the buttons:

Icon          1003
HiliteIcon 1005


Now you need these 2 handlers in the button script

on mouseenter
  set the icon of me to 1004  ##the "rollover"
end mouseenter

on mouseleave
  set the icon of me to 1003 ##to restore the "normal" icon
end mouseleave

That's it...

I hope that helps and you get the picture.

If not, feel free to mail me offlist and i will send you a tiny demo-stack
or will try to explain this even more precise :-D


Regards

Klaus Major <[EMAIL PROTECTED]>
MetaScape GmbH


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to