looking for an example of sound on mouseover
-
- Super Advanced
- Posts: 90
- Joined: Thu May 30, 2002 7:35 pm
looking for an example of sound on mouseover
I know you can do a onfunction on a menu but I just want to see an example on a site so I can test it againest several browser types and then it would be nice to see the aI for one of the items. I did a search but kept coming up with a link to a page that would not load.
-
- Super Advanced
- Posts: 90
- Joined: Thu May 30, 2002 7:35 pm
sound example
I actually figured it out from one of your examples. The only problem is that it takes time for the sound to get loaded and therefore makes using the menus a bit slow for the first time. The files are really small...1k It was just something to play with.
Thanks
Thanks
Hi
http://www.javascripter.net/faq/sound/preload.htm
Michael
preload the sound,The only problem is that it takes time for the sound to get loaded
http://www.javascripter.net/faq/sound/preload.htm
Michael
Add it where? - what to add?
The menu can fire onmousover and onmouseout events (onfunctionand offfunction)
Where do you add the string for this to work - I found this:
or is there another place
and if its a funtion() call - how is the string written onmouseover="mySwf.Play()
Where do you add the string for this to work - I found this:
Code: Select all
// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
and if its a funtion() call - how is the string written onmouseover="mySwf.Play()
any help on this would be appreciated[/i]I have written flash file that responds to a mouseover/onclick/mouseout event - and I'm trying to get it to work within the structure of the menu system
There are two menu item properties that correspond to onmouseover and onmouseout events; they are onfunction and offfunction, respectively. Click here to see an example showing the use of these properties.
Hope that helps,
Kevin
Hope that helps,
Kevin