Re: Rollovers,URLs, and a Wish

2001-09-11 Thread Klaus Major

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/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Rollovers,URLs, and a Wish

2001-09-11 Thread Tereza Snyder

on 09.10.01 3:13 PM, Ken Ray wrote:

 Sorry to ask, but what does the hilite icon NOT do that you would want in a
 rollover effect? Perhaps I'm just being naive here...


As I wrote in an earlier post:

 I found that if you set the armed icon, and set auto-arm to true
 so that it shows when you roll over the button, the hilite icon no longer
 shows when you actually click the button. I've had to fall back to how I used
 to do rollovers (mouseenter, mouseleave, etc).

I guess the distinction is that rollovers don't require the mouse to be
down. 

tereza


+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269


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




Rollovers,URLs, and a Wish

2001-09-10 Thread Christopher Carey

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. The hilite icon feature really does not hit the spot. I have
seen some scripts that rely on the hide show function...

Button script
on mouseEnter
hide image click1.gif
show image click2.gif
end mouseEnter

on mouseLeave
hide image click1.gif
show image click2.gif
end mouseLeave

However this script does not allow for a instance when the mouse enters a
button then leaves off screen. It will leave the image rolled up. There
must be a more reliable way to create a roll-over effect in metacard.

Also for some of the people using 2.3 and trying to launch the browser to
move to a web page, I am using the externals collection to launch a page
that re-directs to the internet hosted page the same way you would launch a
document. I've heard that 2.4 does this better but really did not see the
details can someone respond to this post s
PC Treasures, Inc.


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




Re: Rollovers,URLs, and a Wish

2001-09-10 Thread Richard Gaskin

Christopher Carey wrote:

 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. The hilite icon feature really does not hit the spot. I have
 seen some scripts that rely on the hide show function...
 
 Button script
 on mouseEnter
 hide image click1.gif
 show image click2.gif
 end mouseEnter
 
 on mouseLeave
 hide image click1.gif
 show image click2.gif
 end mouseLeave
 
 However this script does not allow for a instance when the mouse enters a
 button then leaves off screen. It will leave the image rolled up. There
 must be a more reliable way to create a roll-over effect in metacard.
 
 Also for some of the people using 2.3 and trying to launch the browser to
 move to a web page, I am using the externals collection to launch a page
 that re-directs to the internet hosted page the same way you would launch a
 document. I've heard that 2.4 does this better but really did not see the
 details can someone respond to this post s

It's even easier then that:  just set the armedIcon of the button to the id
of the rollover image.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Multimedia Design and Development for Mac, Windows, UNIX, and the Web
 _
 [EMAIL PROTECTED] http://www.FourthWorld.com
 Tel: 323-225-3717AIM: FourthWorldIncFax: 323-225-0716



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




Re: Rollovers,URLs, and a Wish

2001-09-10 Thread Ken Ray

Sorry to ask, but what does the hilite icon NOT do that you would want in a
rollover effect? Perhaps I'm just being naive here...

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

- Original Message -
From: Christopher Carey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 5:05 PM
Subject: Rollovers,URLs, and a Wish


 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. The hilite icon feature really does not hit the spot. I have
 seen some scripts that rely on the hide show function...

 Button script
 on mouseEnter
 hide image click1.gif
 show image click2.gif
 end mouseEnter

 on mouseLeave
 hide image click1.gif
 show image click2.gif
 end mouseLeave

 However this script does not allow for a instance when the mouse enters a
 button then leaves off screen. It will leave the image rolled up. There
 must be a more reliable way to create a roll-over effect in metacard.

 Also for some of the people using 2.3 and trying to launch the browser to
 move to a web page, I am using the externals collection to launch a page
 that re-directs to the internet hosted page the same way you would launch
a
 document. I've heard that 2.4 does this better but really did not see the
 details can someone respond to this post s
 PC Treasures, Inc.


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




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




Re: Rollovers,URLs, and a Wish

2001-09-10 Thread Ken Ray

Whoops! Sorry, I meant the armed icon, not the hilite icon... My
mistake...

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

- Original Message -
From: Ken Ray [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 3:13 PM
Subject: Re: Rollovers,URLs, and a Wish


 Sorry to ask, but what does the hilite icon NOT do that you would want in
a
 rollover effect? Perhaps I'm just being naive here...

 Ken Ray
 Sons of Thunder Software
 Email: [EMAIL PROTECTED]
 Web Site: http://www.sonsothunder.com/

 - Original Message -
 From: Christopher Carey [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, September 10, 2001 5:05 PM
 Subject: Rollovers,URLs, and a Wish


  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. The hilite icon feature really does not hit the spot. I have
  seen some scripts that rely on the hide show function...
 
  Button script
  on mouseEnter
  hide image click1.gif
  show image click2.gif
  end mouseEnter
 
  on mouseLeave
  hide image click1.gif
  show image click2.gif
  end mouseLeave
 
  However this script does not allow for a instance when the mouse enters
a
  button then leaves off screen. It will leave the image rolled up.
There
  must be a more reliable way to create a roll-over effect in metacard.
 
  Also for some of the people using 2.3 and trying to launch the browser
to
  move to a web page, I am using the externals collection to launch a page
  that re-directs to the internet hosted page the same way you would
launch
 a
  document. I've heard that 2.4 does this better but really did not see
the
  details can someone respond to this post s
  PC Treasures, Inc.
 
 
  Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
  Info: http://www.xworlds.com/metacard/mailinglist.htm
  Please send bug reports to [EMAIL PROTECTED], not this list.
 
 


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




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