MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Tooltip ans Sound - 2nd posting

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93405] Re: Tooltip ans Sound - 2nd posting
  • From: ragfield <ragfield at gmail.com>
  • Date: Thu, 6 Nov 2008 04:06:54 -0500 (EST)
  • References: <gepb36$si1$1@smc.vnet.net>

On Nov 4, 5:19 am, axel <axel.kil... at hs-merseburg.de> wrote:
> Hello,
>
> I have found that Tooltip[obj1, obj2] evaluates obj2 upon a mouseover
> event on obj1. The objects can either be Text or Graphics, all
> combinations work. Here is my question: can I use a Sound as obj2? I
> want to hear a specific sound when my mouse enters the notebook area
> occupied by obj1.

Something along these lines might help get you started:

EventHandler[
 Graphics@Disk[], {"MouseMoved" :> EmitSound@Sound@SoundNote[0]}]

-Rob


  • Prev by Date: Re: From reactions to differential equations
  • Next by Date: Re: bar chart
  • Previous by thread: Re: Tooltip ans Sound - 2nd posting
  • Next by thread: Re: Tooltip ans Sound - 2nd posting