Mouse On Button Overs
How do I make buttons so that when the mouse is over them it stays the same and so that it doesn't make the hand. Thanks.
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 10-17-2003, 02:03 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Mouse On Button Overs
How do I make buttons so that when the mouse is over them it stays the same and so that it doesn't make the hand. Thanks.
Flash - Button And Mouse Overs
Alright, im looking for the best way to make it so:
Button 1-X
Hover over changes a picture in the middle of the screen
Clicking makes you go to x url... Which I can do.
Not sure how to make the hover over change a picture on the screen though.
I'll try to give a example... The main picture, and a link on the side, on the hover over, the picture will change, but nothing else will happen. But on click it goes to X url.
Flash - Button And Mouse Overs
Alright, im looking for the best way to make it so:
Button 1-X
Hover over changes a picture in the middle of the screen
Clicking makes you go to x url... Which I can do.
Not sure how to make the hover over change a picture on the screen though.
I'll try to give a example... The main picture, and a link on the side, on the hover over, the picture will change, but nothing else will happen. But on click it goes to X url.
Would Like To Achieve An Effect Where An Image Follows Button Mouse-overs...
Hi, new to this board and hope to stick around
I only recently started using Flash and it's one helluva hard program to use so bear with me... =p
The effect I'm trying to get is say you have two buttons initially, A and B and a square box in the middle of them. When the user hovers over A, the square box shoots over and outlines the button. If the user hovers over B, the box goes over to that button and outlines it.
Basically having a graphic image following orders from a button mouse over action. I have NO clue how to do this so any help is appreciated =p.
Mouse-overs
does anyone know how to do mouse-overs in flash? i can do it easily in swidh but i can't work out how to do it in flash.
Mouse Overs?
Hello all again,
Heres my next question. ive searched tutorials and whatnot but cant seem to figure out where these mouseovers in movies that ive downloaded from here come from. or for that matter how they work. whenever i try to find the action script involved with them its no where to be seen. if you dont know what i'm talking about its those light green clear boxes that some developers use for a mouse over i suppose. maybe im just being a complete idiot here, but why are these boxes not visible when the movie is playing as they are not fully "alphad". Thank you for your help once again
Robert
Mouse Overs
Hello,
I would like to do something like shown here on this page http://www.amydresser.com/pages/nograin.html#
Can someone please let me know how.
Thanks
Mouse Overs
I would like to create something like what is shown here http://www.amydresser.com/pages/nograin.html#
How would I create this?
Thanks
Links/mouse Overs
Yeah, very newbi question, but I was wondering, how do I make it so when you put your mouse over something (like a link) in flash MX, that it does something? Im not sure if this belongs in the action script part, but if it does, please move it.
Problem With Mouse Overs. Please Help
I have a movie clip in one area and the button that I want to control it in another area. THe movie is called "jackolantern." I want it so that when you mouse over the button, jackolantern goes to frame 160. This is my actionscript.
on (rollOver) {
with ("jackolantern") {
gotoAndStop(160);
}
}
When I do this, however,rolling over the button causes the button to disappear. (maybe it is telling the button to go to frame 160?)
Can anyone help please
Multiple Mouse Overs
I'm sure there must be a simple solution to this one!
I would like to make a single Flash movie with several invisible buttons. When the mouse is over a button it triggers a circle to radiate out, like a ripple in a pond from a stone.
My problem is I want all the buttons to work simultaneously so that if I mouse over all the buttons in quick succession they all radiate together and the circle overlap.
I can only seem to get either one or another button to work individually.
Thank you very much for your thoughts.
Mouse Overs Using Variables
I have a project I'm working on for a public transit system and I need to be able to not only create the map, showing all the transit routes and stops, but upon mouse-over I need to display the name of the stop and a link to click for more info. like at http://www.ci.davis.ca.us/gis/unitrans/index.cfm.
Basically, there are a ton of stops and I was wondering if anyone knows a way that I can set up the site so that I'm re-using one circuilar button for all the stops that triggers the 'alt tag' looking box that holds the name of the stop and the link to click for more details, which will be different for each stop. Can I set two variables, one for the stop name and one for the link then have those triggered and changed in the onMouseOver command for each circle or have the button speak to a container that will hold the variables and spit out the variable values for each stop on mouseover? I have basic knowledge of Flash and little knowledge of how to use variable so a full explaination or a sample .fla would be very helpful. Thanks in advance!
Scrooling Mouse Overs Pls Help
hi,
i'm trying to have a scroll effect from right to left. i can get it going one way but i can't seem to bring it back the other way after a certain point. i'm almost there but i can't figure it out, can someone help me out please???
thanks.
i've attached the fla
Double Mouse Overs
I have one mouse over effect...
on top of that button, i place another button...
so layer 1 has full movie image, when you place your mouse over it, it goes to image 2, on mouse out back to image 1
now on layer 2 i have a text link button,
when i place mouse over the background on layer 1, it does its thing...but as soon as it hits the text link button on layer 2, the background image on layer 1 acts like i dont have the mouse on it...
how do i double the mousever...so that when i place mouse over text link, the background image still reads as if i have my mouse over it...
assign them layers?
Mouse Roll Overs
Hello All
I am (with my limited knowledge of ActionScript) trying to do a Flash thing where a user rolls the mouse over 24 different items. One by one when rolled over, their state changes to 'rolled over' When ALL 24 have been rolled over I need it to go to a 'congratulations' type screen.
I can make it so the 24 items have been rolled over (they are shown to be because the state changes) it's just how do I do a script saying something like 'when all 24 items have been rolled over, goto xxx'
Sounds simple, maybe it is!
Thanks in advance
Richard
Trouble With Effects On Mouse Overs
I am having trouble with mouse overs. When the letters fly in everything is fine. But when I try a mouseover the new effect has the last letter protruding out like it stuck from the previous effect. Any idea or should I set-up an example?
Thanks for you help.
Array For Loop Mouse Overs.
Im new to actionscript, Working on my website navigation system with for loop and arrays. Here is the look right now top right nav working.
Im trying to have the word links fade in white on mouseOver and fade to blue onpress. and fade back to normal when another button is pressed. any suggestions on how i should go about doing this?
http://www.rumr.com/site/
I was thinking of duplicating the arreay of buttons but have the mouse over fade in the white font array buttons on mouse over. But not sure if that would be a good idea or if it would work. Keep in mind im new to this stuff.
Thanks for all the help.
regards
James
Noob Question - Mouse Overs
Hello, I'm new at flash and have a project where I need to be able to jump to certain frames, depending on what part of the image (flash file) that the user is hovering over.
As I am now kind of floundering in circles, can someone point me in the right direction?
Thanks,
Donovan
Databases, Rows, Mouse Overs...
synopsis: i'm making a portfolio site in flash and would like to be able to use a database so i can easily add data. the database would contain one table, with several fields. i understand how to get this data into flash via php and mysql but here's what i don't know if i can do or not. i want the user to be able to click on a certain row of it and then have a gotoandplay to whatever frame the image is on, or if necessary change the width/height of the image and then display it. i'd also like to be able to change the color background of that certain row on mouse over. if anyone could help me at all with this it'd be greatly appreciated.
Messed Up Movie Clips/mouse Overs
It seems as though the mouseovers work fine when you go over them one by one. But when you start to go a little faster, they get all screwed up. You can see what I'm talking about at:
http://www.twincoinc.com/flash/Template-03.swf
Slide Show With Mouse Overs And Stuff
Hello!
Looking to further enhance a basic XML slide show. At the moment, it has next|back buttons and a text box to display info of the image.
What I want to do is changed the image every 5 seconds and on mouse over pause the show to show the details next to the mouse cursor.
Can anyone guide me on this? Thanx.
Slide Show With Mouse Overs And Stuff
Hello!
Looking to further enhance a basic XML slide show. At the moment, it has next|back buttons and a text box to display info of the image.
What I want to do is changed the image every 5 seconds and on mouse over pause the show to show the details next to the mouse cursor.
Can anyone guide me on this? Thanx.
Simple Flash Image Mouse Overs With Links
In short I am not a "flash guy" but I do have it as part of my CS3 package.
I have a projects where I would like to create some simple flash navigation..
A basic background image with mouse overs that will allow the user to click on them and get linked to another page.
Picture an interactive amusement park map and your there.
I'm wondering how hard this would be to do in flash and if someone can give me the guidance I'd like to give it a go. If its to messy I'll look for another solution.
In short I'm looking for advice and direction.
Thanks
[CS3] Button Overs
Hi, I have a page with names on it which I have turned into buttons so when the user hovers over a name a box appears with details about that person. When i hover over the name however it displays the details behind the other names on the page instead of it being overlaid on top. How can this be resolved.
thanks
Button Roll Overs.
I set a button to play at a specific frame when the mouse goes over it.
My problem is that when the movie starts the roll over animation starts right away too. Once I bring my mouse over it once and then take it off, the movie starts playing like it should.
Therefore, my question is: Do I have to add a certain script so that the frames that should be played upon roll over do not play right away when the movie starts?
Button Roll Overs
hi.....
I'm trying to solve this problem:
i have 3 layers:
layer one: image buttons
layer two: an image that have holes cut out to see threw it.
layer three: i want an image (a larger image of the buttons) to show under layer two when u mouse over the image buttons. (using a mask is not required).
my problem is how do u, use a button to show the image under a layer.
so my question is how do u load an image on a mouse over under the button layer? it needs to load on the 3rd bottom layer.
thanks for any help
oh im using flash mx ty
OnPress Doesn't Work If The Mouse Button Is Pressed Again But The Mouse Is Not Moved.
I have a very simple piece of code but it has one very annoying bug. When I press the button a second time, the code doesn't work. The only way to get the code to work is by moving the mouse a tiny bit, or moving the mouse off the button and back on.
Does anyone know a way to make a button that can be clicked many times without moving the mouse?
Code:
randommultiquiz.onPress = randommultiquizOnPress;
function randommultiquizOnPress() {
_root.attachMovie("connect", "newconnect", 200);
newconnect._x = 0;
newconnect._y = 0;
newconnect._xscale = 100;
newconnect._yscale = 100;
}
Scene Transitions Now Effecting My On Mouse Over, On Mouse Out Button?
This is quite a complicated problem to explain.
Basically I had some buttons with a on mouse out, and on mouse over effects.
I wanted each button to load a different scene of the movie.
For some reason the on mouse over and mouse out button effects work until I link them to load a scene in the movie.
If you download the following file you can see this.
http://www.editorskeys.com/site.file
(rename the file to .zip)
The only button I have linked to load a movie is the Drinks button. It loads the drinks scene, no problem, however the mouse over effects don't seem to work anymore.
I have included the .fla file so if someone could maybe have a quick look at it, it is probably just a small bit of coding I have done wrong!
I would really appreciate anyones help, thankyou!
p.s if anyone manages to do it can you e-mail it to adam.w@editorskeys.com
Scene Transitions Now Effecting My On Mouse Over, On Mouse Out Button?
This is quite a complicated problem to explain.
Basically I had some buttons with a on mouse out, and on mouse over effects.
I wanted each button to load a different scene of the movie.
For some reason the on mouse over and mouse out button effects work until I link them to load a scene in the movie.
If you download the following file you can see this.
http://www.editorskeys.com/site.file
(rename the file to .zip)
The only button I have linked to load a movie is the Drinks button. It loads the drinks scene, no problem, however the mouse over effects don't seem to work anymore.
I have included the .fla file so if someone could maybe have a quick look at it, it is probably just a small bit of coding I have done wrong!
I would really appreciate anyones help, thankyou!
p.s if anyone manages to do it can you e-mail it to adam.w@editorskeys.com
Roll Overs Anyone?
Guys,
Whats the procedure/script/tutorial for adding those cool rollovers in Flash. Check http://www.cyanimaging.com/ for a perfect example. Any help would be greatly appreciated.
Thanks,
Marc
Roll Overs
Inside flash MX, how do you make a button when you scroll over it write some thing in a dynamic text field
Roll Overs
I'm trying to create a portfolio site and one of the things I wanted to have was being able to rollover thumbnails of my drawings, which would than flash a larger version of the same image to the side. If anyways can help I'd sure appreciate it.
The best example I found of what I'm trying for is here
Thanks
Roll Overs
hi gus, im creating a drop down menu where when the user rolls over a button a menu appears below. i have an invisible button on with a rollout function on so that when the mouse leaves the area the menu disapears. the problem is that if the user quickly skims over the button the menu sometimes remains and doesnt react to the roll out action.
how can i fix this??
thanks
John
[CS3] Roll Overs
i have to start by thanking every one that has been helpping my i really appreaciate it.
Well now i am having a problem with the event lisiner and roll over
This is what i have
giftCardRoot.as (main File)
Code:
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.filters.*;
public class giftCardRoot extends Sprite {
private static const thumbHSpace:int=140;
private static const thumbVSpace:int=120;
private static const thumbXOffSet:int=140;
private static const thumbYOffSet:int=95;
private var XMLData:XML;
public var textFormat:TextFormat;
public function giftCardRoot() {
var MainFunctions:Class_MainFunctions=new Class_MainFunctions;
addChild(MainFunctions); // I think i have to do something like this
MainFunctions.LoadXML("category.aspx");
}
}
}
Class_MainFunctions.as
Code:
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.filters.*;
public class Class_MainFunctions extends Sprite {
private static const thumbHSpace:int=140;
private static const thumbVSpace:int=120;
private static const thumbXOffSet:int=140;
private static const thumbYOffSet:int=95;
private var XMLData:XML;
public var textFormat:TextFormat;
public function LoadXML(myXMLFile):void {
var xmlURL=new URLRequest(myXMLFile);
var xmlLoader:URLLoader=new URLLoader(xmlURL);
xmlLoader.addEventListener(Event.COMPLETE,xmlLoaded);
}
private function xmlLoaded(event:Event):void {
var xmlData=new XML(event.target.data);
parseXML(xmlData);
}
public function parseXML(input:XML):void {
var hc:int=0;
var vc:int=0;
var category:XMLList=input.category;
textFormat=new TextFormat ;
textFormat.font="Verdana";
textFormat.size=11;
textFormat.bold=true;
textFormat.color=0x990000;
for each (var infoXML:XML in category) {
var catName=new TextField;
var catImg=new TextField;
catName.x=hc * thumbHSpace + thumbXOffSet;
catName.y=vc * thumbVSpace + thumbYOffSet;
catName.text=infoXML.categoryName;
catName.setTextFormat(textFormat);
catName.width=150;
if (hc < 3) {
hc++;
} else {
hc=0;
vc++;
}
addChild(catName);
bitmapLoader(infoXML.categoryImage,catName.x,catName.y);
}
}
//
private function bitmapLoader(ImageTxt,Image_x,Image_y) {
var loader:Loader=new Loader ;
var urlReq:URLRequest=new URLRequest("images/category/" + ImageTxt);
loader.load(urlReq);
loader.x=Image_x;
loader.y=Image_y + 20;
loader.addEventListener(MouseEvent.MOUSE_OVER, onOver);
var container:Sprite=new Sprite ;
addChild(container);
var rect:Sprite=new Sprite ;
rect.graphics.lineStyle(0);
rect.graphics.beginFill(0xFF0000);
rect.graphics.drawRect(Image_x,Image_y + 20,100,75);
rect.graphics.endFill();
container.addChild(rect);
rect.addEventListener("click",onClick);
rect.buttonMode=true;
rect.addChild(loader);
rect.filters=[new DropShadowFilter];
}
private function onClick(myText):void {
trace(myText);
}
private function onOver(event:MouseEvent){
trace(event.currentTarget);
event.currentTarget.gotoAndStop(2);
//MovieClip(root).thumb.gotoAndStop(2);
}}
}
Roll Overs And URL's
Hi
I'm new to Flash and I have a problem that has been bugging me for weeks. I've made some roll over buttons in fireworks and imported them into Flash as a movie clip. When I test the page the roll overs work great. Problem is as soon as I add the behaviour to go to a webpage the button stops being a roll over but the link works. I cant seem to work out how to get the roll over and the link to work together.
Can anyone help me??
Thanks
Roll Overs
A lot of times I will base animations on the simple on (rollOut) command - but its soooo unreliable - in most cases, when a users rolls out quick enough, flash can never register that a roll out even accord - messing up a lot of my transitional animations. Any suggestion on the best way to get effecient roll out detection? I mean - I can pass variables - but then I have to make loops to check the variables, and I still have to use the on roll out to even set the variables!
Efficiency is the key - I need something that I can rely on - no matter how fast they move their mouse!
any ideas? Could it have something to do with my frame rate?
Roll Overs
How can you get rollovers to work..?
I'm using the up,over,down,hit approach.
I can get most working, but the problem is that on the hit frame, the box I've drawn to indicate the clicakble area, goes beneath the actual button, and so the roll over won't work?
Any ideas on how to get around this....
How To Make Roll Overs
Guys,
Whats the procedure.script/tutorial for adding those cool rollovers in Flash. Check http://www.cyanimaging.com/ for a perfect example. Any help would be greatly appreciated.
Thanks,
Marc
Timing Voice Overs?
I have a piece of training software made in flash, where there are multiple "slides"... the slides are just a sequence of keyframes with stop functions, and movie clips in each frame for content...
each movie clip has a voice over, and when the voice over is done the advance button pops up, the problem is I just have to guees which at which point I should have the button pop up (as you know, the frames will get off from what it appears on the timeline, when played as an swf)... is there anyway I can have it pop up exactly when the voice over ends??
thanks guys, let me know if you need more explanation
Voice Overs In Flash
I have seen several Flash Demos where there are voice overs. What software is used to capture a Narrator's voice and then how is it imported into Flash?
Pre-Loaders & Roll-Overs... =D
hola!
ok, i have two questions...
a) pre-loaders: where's a good tutorial that tells me how to make them work, etc.? (i can make the animation, i just don't know what to do w/ it after that... where to put it; how to run it, etc.)
b) when you make an animation for your roll-overs (when you mouse over the button, the "over" state doesn't just pop up, you make it ease in or animate it somehow, or whatever) -that part, i've got. but how do i make it so that when you mouse OFF the button, the button doesn't just pop back to its "on" state; rather, it fades back out (basically, how do you tell the button to play the second half of the animation: the roll-off part?)
i'm sure these are really easy things to do, so i'm sure there are some great tutorials out there... if anybody has any suggestions for one or both questions, i'd appreciate it!!!!
thank y'all! have a lovely day...
~elle*
Movies In Roll Overs
Is it advisable to import a small (4k) movie as part of a rollover on a button?? Is there a chance of a slight delay?
Any advice??
Jimbob, you there ??
Roll Overs Goto's
hello,
i am putting together a small presentation and have a nice background which has a rotating background faded in. I'd like to do some roll-overs where when you put your mouse over a button, it displays further information on the topic. However, if I use goto, surely it will make the presentation shift to a certain frame, which will make the rotating globe go wrong?
Am I wrong or is there a way around this?
thanks for your help
S
Dynamic Roll Overs
I have a flash menu which gets the menu links from an XML file!
What I would like is all the links in the menu to have rollovers!
The movie works by having a dynamic text box inside a movie clip which display's all the xml info. The movie clip is just duplicated for each menu link from the XML.
Does anyone know how to do this!
Cheers
Jemes
|