Music with mouse over
How do i have a sound snippet play when i hover over a piece of text or an image ? I have tried adding numerous pieces of code but I do not seem to be able to get an mp3 sound to play.
Thanks,Michael
That's right.
Start Personal Webserver (I use the name from the past when I had a web-, FTP-, mail- and Listserver on my Mac LC 14 years ago) and serve.
It's in System Preferences > Share
With iWeb 08 it is more cumbersome because you publish the whole folder again and again even when only one character on a page is changed.
One reason to upgrade to iWeb 09.
Anyway, you can either publish to the Sites folder in your home Directory or to the folder which is the root of the webserver.
/Library/Webserver/Documents/
I publish local to see how a page looks and behave. Then I move the page to the Site I publish remotely.
With iWeb 09 you can do the same in one go. Change to publish to folder and then change back to FTP and/or MobileMe. One Site with three option to publish. iWeb remembers the settings.
Besides the convenience of publishing with iWeb 09, I also have my domainname configured to my Mac at home.
How you configure your webserver is in the Apache manual.
http://localhost/manual/
Similar Messages
-
How can I make photos on web page enlarge with mouse-over?
How can I make photos on web page enlarge with mouse-over?
There's a couple of recent topics which mention MagicZoom and JQZoom...
https://discussions.apple.com/message/17438064#17438064
https://discussions.apple.com/message/17440847#17440847
A very simple method is shown here...
https://discussions.apple.com/message/17440847#17440847 -
I have created an interactive PDF using Illustrator that has mouse-overs. When i export the file and then open it in Acrobat there is odd pausing on teh image bewteen mousing over it and the text callout that shold then display. Did I export or save incorrectly?
Thank you for both responses! I'm impressed with the fact that you're reading my post.
I'm new to tech matters with Adobe/PDF/Nitro tho I've been using them for several years.
The original file was created by an agency and given to independent contractor to use. I don't know which program they used to create the form. And I don't know what XFA or LiveCycle Designer means because I'm not technically sophisticated unfortunately.
I used Nitro 6 to populate the data and have a number of forms already filled out, which I periodically open and modify and resubmit. But Nitro 6 is acting sick, despite reinstalling several times. I'm attempting to see if it's worth transitioning to Adobe Acrobat, i.e., can I reopen the forms I've populated and continue to work with them. I like some of the Adobe features for other purposes (e.g., OCR).
Any help in determining how to open the form while keeping the data? -
Problem with mouse-over value on a column chart (by Series)
Hi.
First of all thanks for any offered tip.
I am having a problem with a column chart.
When I move the mouse over a column it should show a small pop-up (or tip) with the column name (series name) and the value (series value). The problem is that it displays an extra '1' just like the following:
SeriesName
1
X.XXX
How can I remove the extra '1' and only show the name and the value ?
The data is populated by series (manually added).
Mihai.Hi,
Thanks for the tip Shanthakumar KA.
Yes. It looks like the '1' is coming from the X Axis labels. The chart that I have built does not require any labels on the X Axis, so this was not set (X-Axis labels: Empty). I tried setting this to an empty cell, but the '1' still appears in the mouse-over tip.
It is very weird. If I leave the X-Axis labels empty, I still get the '1' displayed which is very annoing.
Are there any solutions for this except the re-building the tip with a label a.k.a. '[customize the mouse over values|http://xcelsiusandme.blogspot.com/2009/07/xm-sample-7-customizing-mouse-over.html].'
Regards,
Mihai. -
Problem/bug with mouse over movieclips
Been facing an annoying problem at here: www.villielain.com
Different site sections are located in animated objects
(mostly glowing) and when you mouse-over them the bottom menubar
shows up. The problem is that, when you go fast over multiple
objects (for example tv - cross - wall), the menu bar won't go
away.
I've separate actionscript layer for the menu items and can
send the original open file if it helps.
any suggestions? thanks.Issue 1: If the user leaves the Flash area (and moves over to
the black html background in this case), Flash doesn't register a
RollOut event, because Flash isn't underneath your mouse to capture
it.
Issue 2: Another problem is that when you display a new menu,
your code should remove or override any menu that's currently
displayed, rather than just adding a new menu to the stage or
making a new item visible.
Issue 2 can be fixed with some improved code. Issue 1 is a
Flash (AS2) limitation, but there are some workarounds. You can
start a timer when a button is rolled over. If no rollout event is
triggered after the designated time has elapsed, you can check the
location of the mouse and perform a hit test with your button.
Solving issue 2 will also reduce the occurrences of issue 1. -
Photo Gallery with Mouse over text
I would like to extended the photo gallery concept and the
general phot effects so when you mouse over an enlarged image you
get formatted text drawn from the XML file.
Like blockbuster does on its site when you mouse over an of
the DVD images.We released the
Spry
Tooltip preview to have an early feedback to this feature from
the community. You can use it experimentally to solve your need.
Cristian -
Dock keeps restarting with mouse over
My dock keeps restarting when the mouse is over it. I've searched the web and i've found a lot of posts about this issue, and with a lot of sugestions, but none of them had solved this problem.
Anyone with the same problem, that had found a solution?
Thanks in advance.
Best regardsHello fsf:
Welcome to Apple discussions.
Try trashing the preference file and restarting (com.apple.dock.plist). You will have to reenter your personal preferences.
Barry -
JSwing code errors with mouse over
Basically this code is set up to change the background of Jtextfield when the Jtextfield contains the cursor. But, it seems that i have issues because it only works if the cursor is in the upper corner of my window frame. I think it has something to do with my hiearchy, but am unsure how to fix.. help will greatly be apreciated.
its in two seperate class files by the way.
import javax.swing.*;
public class yahtzeeTest
public static void main(String[] args)
tes menu=new yahtzee();
JFrame appFrame=new JFrame();
appFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
appFrame.setContentPane(menu);
appFrame.pack();
appFrame.show();
// seperate file
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
public class testeld extends JPanel implements ActionListener, MouseMotionListener
private static int panelW = 400,
panelH=350;
JTextField tf[]=new JTextField[2];
Point cursor;
public testeld()
setPreferredSize(new Dimension(panelW, panelH));
setLayout(null);
addMouseMotionListener(this);
setBackground(Color.red);
for(int i=0; i<2;i++)
tf=new JTextField( "",i);
tf[i].setBounds(200, (30+(26*i)), 30,20);
tf[i].setEnabled(false);
add(tf[i]);
tf[i].addActionListener(this);
public void actionPerformed(ActionEvent ae)
Object src = ae.getSource();
public void paintComponent(Graphics g)
super.paintComponent(g);
Graphics2D g2=(Graphics2D)g;
public void mouseMoved(MouseEvent me)
int x=me.getX();
int y=me.getY();
this.cursor =new Point(x, y);
for(int i=0; i<tf.length; i++)
if(tf[i].contains(cursor))
tf[i].setBackground(Color.yellow);
else
tf[i].setBackground(Color.white);
public void mouseDragged(MouseEvent me){}1) Swing related questions should be posted in the Swing forum.
2) I would use the mouseEntered, mouseExited events to set/reset the background.
3) Why did you overried paintComponent() -
One more nugget: Chart zoom with the "Mouse Over" effect
Hello all.
Just read my signature first, it might explain a lot. I do not intend to compete with Darren and I don't think this "nugget" (at least it supposed to be one) will amaze any of the LV veterans and this forum is rich of them. But maybe it will bring some new ideas to some of you or maybe it will be useful for some LV beginners (like me). It is very likely, my code will have some lapses, but please be gentle pointing that out to me. If you feel a need, you can always optimize the code and develope it further. Just don't forget to share!
So back to the point.
I am developing a project using LV. In my program there is a waveform chart which has to show 4 plots. Depending on the length of the X Scale, it sometimes gets hard to see the plots clearly because of their density.So I decided that I need a tool, which would zoom the chart in. And this is what I have came up with after a few "Google" searches to check which part of the bike is already invented and also a bit of programming by myself.
Maybe you guys (at least the veterans) know the BetterVIEW Consulting LV example where they have implemented the Mouse Over effect. So a part of their example has been used in this tool and part of the credit must go to them. I thank them a lot
This tool uses a cluster and its property of visibility to show/hide the cluster depending on if the current position of the mouse cursor is in the desired range or not. The program also gets the image of the chart and returns the subset of the image. The subset is taken for the area arounf the mouse cursor. So if you move the mouse, the zoomed in area will also chage in response. After that, the subset of the image is zoomed in for better view.
The user might chage the zoom factor during the execution. Also it is possible to turn the zoom option On or Off if you don't wish to see it for the moment.
This is how the front panel looks like:
And this is the image of the block diagram (see the attached files for the vi, the VI Snippet tool distorts the code too much, so I haven't added it):
I haven't found anything the same in the forum. Yet I'm a newbie here and I don't have that much experience surfing it. If it wouldn't be something new (in the forum, not necessarily to some of you personally), just ignore the thread. I hope this was worth your time and your attention.
Good coding
Message Edited by Giedrius.S on 02-11-2010 12:46 PM
While evaluating my code please have in mind that I am a LV novice. Therefore sometimes my code might violate some coding rules that I have to learn about myself. But how else could I do that...
Chart zoom with "Mouse Over" effect
Attachments:
Zoom.vi 198 KB
Mouse_pos.vi 20 KB
Check_pos.vi 18 KBVery nice Giedrius.
It takes guts to "step up to the chalk board" so I will do what i can to give you some ideas to think about. This is similar to the type of feedback I offer durring our in-house code reviews.
1) The floating property nodes outside the loop are not sequenced by wires so they could execute after the loop starts. Sometimes this could cause weird errors. Seq with the error cluster.
2) Property nodes can be re-sized so you can apply more than one property setting in the same call. Property node have to execute in the UI thread (which is single threaded) so using a single nodes will force a single context switch rather than one for each.
3) Setting the same property repeatedly in a loop just burns CPU. THe Scale min for both X an Y can be moved outside the loop ?
4) THe Wait Until Next ms" function does not get used in any of my code. It is not a way to get a fixed wait but rather a random wait. If you code completes 1 ms after the next multiple, the delay is double less 1 ms. If you have multiple loops using them and it f the delay for each are not unique prime numbers, then the "Wait until next ms multiple" is a good (cough cough) way of getting them all to wake up at the same time and fight for the CPU.
5)An Event Struture to monitor mouse enter/leave and mouse move (this would have to be a sepearte loop) is easier on the CPU than polling.
6) Is that math in the case to handle the Chart position on the FP? If so then using the property nodes for the chart to find its postion will let you code adapt to GUI changes.
7) Right to left wires are not well recieved.
8) A Bundle by Name is prefered over a "Bundle" since it is self documenting. I know the Picture function so I can see that is the rectangle you are specifying but reader not famliar with that function would not be able to "READ" the code without poking at it.
9) THe event structure would also help with setting the Zoom factor. Only poke it when you have to.
That is all that comes to mind at the moment.
Again thank you!
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Does Flash Engine supports "Mouse Over" events on an Android device with a mouse?
We built our custome Android on a Beagle Board. When we play a Flash content on WebKit, the flash does not respond to mouse over events.
When mouse pointer comes on an object with mouse over effect, nothing happends.
Can you confirm that there is Mouse Over support in Android 2.2 Flash Engine?
Thanks in AdvanceThanks for the link. Im just stuck on one issue right now. I
quickly noticed that the samples make use of mx.transitions.easing
as seen in the script below. How does Flash 8 address this?
myButton_btn.onRelease = function() {
tweenBall(mx.transitions.easing.Bounce.easeOut);
function tweenBall(easeType) {
var begin = 20;
var end = 380;
var time = 20;
var mc = ball_mc;
ballTween = new mx.transitions.Tween(mc, "_x", easeType,
begin, end, time); -
Tabs: mouse over and reset- show default/effect
Hello,
ich have made some tabs with mouse over...
<li class="TabbedPanelsTab" tabindex="0"
onmouseover="TabbedPanels1.showPanel(this);">Demo 1</li>
works so far - and set Tab number 4 as default:
var TabbedPanels1 = new
Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab:4});
So the Tab-Set starts with 4 and the mouse-over effekts work.
I have two questions- how to...
- when the user leaves with the mouse cusor the tab area i
want the script to show Tab 4 again
- want the tabs to open with a soft slide effekt - when shown
and when disappear
Help would be nice - i am not really a programmer. ;-)burnster73 wrote:
> Hello,
>
> ich have made some tabs with mouse over...
> <li class="TabbedPanelsTab" tabindex="0"
> onmouseover="TabbedPanels1.showPanel(this);">Demo
1</li>
> ...
> works so far - and set Tab number 4 as default:
> var TabbedPanels1 = new
Spry.Widget.TabbedPanels("TabbedPanels1",
> {defaultTab:4});
>
> So the Tab-Set starts with 4 and the mouse-over effekts
work.
>
> I have two questions- how to...
> - when the user leaves with the mouse cusor the tab area
i want the script to
> show Tab 4 again
You could try adding an onmouseout event to each tab and have
that even call TabbedPanels.showPanel(4) like so:
<li class="TabbedPanelsTab" tabindex="0"
onmouseover="TabbedPanels1.showPanel(this);"
onmouseout="TabbedPanels1.showPanel(4);">Demo 1</li>
> - want the tabs to open with a soft slide effekt - when
shown and when
> disappear
The Spry Tabbed panels do not have any "hooks" to be able to
change how a panel is shown, so you'd have to rewrite the
Spry.Widget.TabbedPanels.prototype.showPanel method to change how
showing a panel (and hiding the panel that was the shown panel). Or
you could do something similar to what is being done in this
thread:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1429374&enterthread=y
Essentially, the tabbed panels have a div within them and
that div fades in when the div is shown.
One problem with widgets is that if you want to do something
different than what they are designed for, it get fairly
complicated to do if you do not know JavaScript well, so be aware
and be ready to dig in.
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
TextEvent.LINK - is there a way to determine mouse over?
I'm using the following code in an app, but what I'd like to know is if there's a way to determine if a user mouses over the link. I would like to display a custom tooltip I've made when the user is mousing over a link, I've been looking for code that will accomplish this, i.e.:
myText.addEventListener(TextEvent.MOUSE_OVER, doAFunction); - but I'm not able to find anything associated with mousing over a text link, aside from using a stylesheet.
On the mousing over of a link, I want to determine if the event == httplink, a custom event I've created. If anyone could shed some light on how to accomplish this, I would be much obidged.
~Chipleh
myText.addEventListener(TextEvent.LINK, httpLinkHandler);
function httpLinkHandler(evt3:TextEvent):void
var linkStr:String = evt3.text;
trace("linkStr = " + linkStr);
var event2:String = evt3.text.substr(0,8)
if(event2 == "httplink")
var str:String = linkStr;
var linkHandlerArray:Array = str.split("&");
var theLink:String = linkHandlerArray[1];
trace("theLink = " + theLink);
var url:URLRequest = new URLRequest(theLink);
navigateToURL(url, "_blank");There is no direct way in AS3. However you can do this: when you roll over the TextField get the character index using getCharIndexAtPoint() method. Once you have that you can use it to examine if the mouse is over the hyperlink. There are several ways to do this but I think the easiest is to check the text formatting using getTextFormat() method - assuming you have specific format for hyperlinks (like different colour or underscore.)
Kenneth Kawamoto
http://www.materiaprima.co.uk/ -
I've developed a site using "web Page Make" I put a graphic on a page with a mouse over that morphs the graphic and plays a brief wave. I works with I.E but no go in FF 3.63.I am previewing this off a local networked drive. No problems with other net site with embedded audio do I need a certain add on etc. Can anyone offer some advice. Thanks
== This happened ==
Every time Firefox opened
== I preveiwed the site and try the mouse over feature to excute the waveMake sure that you do not use bgsound to pay that music.
See http://kb.mozillazine.org/Background_music_does_not_play -
If I have a box with a title strip at the bottom, how do I make the strip pop up on mouse over
So I am building a website for my company and Ive hit a brick wall on something that I know I could make work correct but I dont have the time and dont want to contiue to waste time experimenting. I have been using adobe flash and I know how to use it but not on this level I guess, I have got it to work in some cases but seems like it would be the worst to edit if needed.
Im trying to make a box (button) that has a visible title strip at the bottom of it. When you mouse over the title slides up and it shows information, which you can click to go to a link or mouse out and it will go back down. Ive been trying everything and something always seems to not go just right. I need it to be fluid, for I will be doing it to 6 boxes in a row on the landing page of the site. Please let me know if anyone knows what Im talking about or can help in any way possible! There is an example on the sony site near the bottom with 4 boxes. http://www.sony.com/index.php
Also, If anyone were to know the answer to the Q above, What would be the best template to start in for this?
Thanks, TConsider something like a JavaScript library for your tabs. You can do it yourself with standard jQuery effects easily (http://learn.jquery.com/effects/intro-to-effects/) or even use something premade as a wrapper if you really choose like jQuery UI (http://jqueryui.com/toggle/). Simple things like revealing content via a tab should be done in a modern way.
The content of the tabs can be SWFs if you really have some serious animations/etc they can exist inside there. -
This particular project is made up entirely of still photos with Ken Burns moves and dissolves between each photo. As I got further into the project, the voice over audio started stuttering, and now it hardly plays at all with a motorboat sound when it does play. I've also started added music with the dsame audio problem. I'm running on a Mac PowerBook 2GHz using System 10.6.8. I have IMovie version 9.0.4. The project file size is 588 Mb. I have 274 Gb of hard disc space left. I have shut off all other running programs and even disconnected from the internet, but nopthing seems to help. I acts like it's a memory problem of some sort, but all other applications run fine.
This particular project is made up entirely of still photos with Ken Burns moves and dissolves between each photo. As I got further into the project, the voice over audio started stuttering, and now it hardly plays at all with a motorboat sound when it does play. I've also started added music with the dsame audio problem. I'm running on a Mac PowerBook 2GHz using System 10.6.8. I have IMovie version 9.0.4. The project file size is 588 Mb. I have 274 Gb of hard disc space left. I have shut off all other running programs and even disconnected from the internet, but nopthing seems to help. I acts like it's a memory problem of some sort, but all other applications run fine.
Maybe you are looking for
-
How to eject a stuck dvd?
How to eject a stuck dvd?
-
Apple TV and Netflix in New Zealand
When Netflix launches in March in New Zealand, will I be able to access it from my 3rd generation Apple TV?
-
Purchase group security in the create PO role
Hi, What are other larger companies with multiple purchase groups across multiple plants, doing with purchase group in their create purchase order role? Are you following the same practice for all the purchase order roles that include purchase group
-
How to create HD Video for Web
After watching HD movie trailers on the Apple Web site I was wondering if anyone has information on how I can create 480P Video clips of my own work for my website? At the moment, I use compressor and the settings for Large DSL. It's good, but I'd li
-
Question about event handling in a button
I recently coded a console version of my java program (just outputs stuff into the system console and a logger). I am now adding a simple GUI with a set of buttons to start and stop the program. In order to do this, do I just copy paste the main func