Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








I Need To Change The Opacity Of A Image Wuth A Effect Of FADE, On Mouse Over A Button


I'm a complete newbie and doesn't write so well in english (why do i live?

Well, I have a problem:

When the mouse is over a button (buttonbatel)I need to change the opacity of a movieclip (fotobatel) to 70%, which already is at 40% and when the mouse is out of the button, it change back the picture to 40% of opacity. This with a FADE effect in the two positions of mouse (over & out button)

Can u help me with the action scripts for this?

Sorry about my english.

Thanks since now.




FlashKit > Flash Help > Flash Newbies
Posted on: 05-16-2003, 02:38 PM


View Complete Forum Thread with Replies

Sponsored Links:

Button Effect Fade Out When Mouse Not Over
Say I have a circle pop up around a button when the mouse is over it. How would I get the circle to fade out, instead of just disappearing, when I take the mouse cursor off of it? Thanks.

View Replies !    View Related
Button Opacity To Change When Other Movieclips Completed.
I think what I want is reasonably basic, but I can't work it right!

I have my screen and there are four seperate movies on it. When these movies are dragged onto the correct movieclip, they run themselves so that they appear to drop off stage.

I want a button to become fully opaque when all four of these movies have played through to their last frame (frame 20), but I'm totally lost...could anyone help?!

PLEASE!

View Replies !    View Related
Button Question: Image Effect After Mouse Is Off The Button
I searched everywhere on the forum but I guess this is a basic question regarding the mouse effect.

I have no problem creating menus and buttons to do effects with mouse over and mouse down. But the question is, how do you keep the effect from NOT getting cut off when the mouse is rolled over to another button.

If you take a look at http://www.team3d.net for a button example, when the mouse is rolled off the button, the button smoothly goes back. I still don't get how you do this. Is it done with an ActionScript or can it be done by just a movie clip?

Please help! Thanks in advance...

View Replies !    View Related
Button Question: Image Effect After Mouse Is Off The Button
I searched everywhere on the forum but I guess this is a basic question regarding the mouse effect.

I have no problem creating menus and buttons to do effects with mouse over and mouse down. But the question is, how do you keep the effect from NOT getting cut off when the mouse is rolled over to another button.

If you take a look at http://www.team3d.net for a button example, when the mouse is rolled off the button, the button smoothly goes back. I still don't get how you do this. Is it done with an ActionScript or can it be done by just a movie clip?

Please help! Thanks in advance...

View Replies !    View Related
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.

View Replies !    View Related
Change/Fade Background Image
I have 5 different buttons that I would each to change the background image, fading in the new one. Each button takes the user to a different 'section' of the website, and each 'section' has a different background picture. How can I make the picture change, fading in new one?
I just can't figure out the logic behind it - what would be the most efficient/easiest way to do this?

Chandler

View Replies !    View Related
Fade Image Out On Frame Change?
I'm so close to finishing my portfolio site update with an XML gallery and menu. However, I have multiple galleries, about 7-8. With the crazy timeline I have set up now, each gallery is on on its own frame about 20 frames apart, the menu uses a gotoAndPlay to another frame with a 20 frame animation and a stop(); on another gallery frame. What I would like to do is when another gallery is selected from the menu, have the last image of the current gallery fade out. So, what AS would I need to make the movieclip "picture" fade out when the frame is changed?

A shoutout to Scotty and Lindquist as well as all the tutorials for making this possible! You guys rock, hope I can be as helpful someday!

View Replies !    View Related
Fade Another Image On The Screen In And Out When Mouse Over Another Image
Im hoping someone can help me with this flash dilemma thats been bothering me. I have 3 images on the stage and when the mouse goes over one of the images, i want the other two to fade out. Then when the mouse leaves that same image, i want the two images that faded out, to fade back in. So far, ive turned the images into movie clips and made the movie clips fade out until frame 31. then i put an action to stop at 31 and then i have the fade in sequence from frame 32 to 60 (then i had a stop action at the end of that too). If anyone knows a good way to do this, i would really appreciate it. Id rather not do this with buttons, but if thats the only way you know, im still open to it because i really appreciate any feedback given. THANKS!!!!

View Replies !    View Related
Help For Mouse Point Image Change When Mouse Over
Hi. I am trying to change the shape of the point of mouse when the mouse is over a particular area. Is there anyway i can do?

Thanks.

View Replies !    View Related
Need To Fade Image On Mouse Over
Hey forum! Please go easy on me - only know basic stuff like creating fades and such in the time line.

Question: I have an image (150 x 100 pixels) that I would like to have darken and a word appear on mouseover while linking to a URL on a mouse click. Normal tweening is easy, but I haven't the faintest idea how to make it as a mouse over event.

Looked at another article in the forums, but it isn't exactly what I want to do, and it was confusing. Here's the link to the home page of what I'm trying to change: http://www.stewartheatingandair.com (the small squares on the lower right).

Right now I'm doing the image change and link in just CSS and HTML, but I'd like it to be a nice fade in and out as opposed to a hard change. Might also do something with the word like have it slide in.

Any help much appreciated!

View Replies !    View Related
On Release Fade A Movies Opacity? Possible?
I have been looking for code that fades a movies opacity either up or down over ten frames.
Cant seem to find the code, is it even possible?

thanks for any comments
A

View Replies !    View Related
Dynamic Fields - Can't Fade Opacity?
Why won't dynamic/input fields fade opacity within the movie they are in?

View Replies !    View Related
Image Fade In & Out With Mouse Rollover
I'm trying to have images in my movie fade in when the mouse rollsover and the fade out when the mouse rolls out. I'm seeing alot of neat stuff with this effect.

example site.

http://www.wddg.com

View Replies !    View Related
Image Fade Effect - Distortion
i'm building a site entirely in flash but all of my graphics are imported .jpg files. i'm using no vector whatsoever. basically what i'm doing is this. i have a button, that, when clicked, tell it's targeted movie clip to start playing. the move clip houses one .jpg, which is text and it's surrounding background. the clip is 20 frames long and set at 20fps. the first ten for the fade in, the second for the fade out, and a stop point in the middle. i've converted the .jpg to a graphic so i could adjust the alpha settings in the properties panel to control the fade. the movie clip loads over a larger background image. the clip is set in place so that the backround in the clip lines up with the main background. the effect is set up to make it look like the text is fading in, since that is the only part that is appearing to change, however, flash is distorting my image as it loads. nomatter how i realign the clip on the main stage it does not load aligned over the main background image. also, it seems as if flash is stretching or crunching the image as it fades in. i've turned off smoothing in all of the images properties control panels. do i need to load the image dynamically, fade them using actionscript, or just call it a day? thanks in advance for any help. timothy.

View Replies !    View Related
Nice Image Fade Effect
How can I apply a nice image fade to my random load after the preload

AS:

----------------------------------------------------------------------------------------

fscommand("allowscale", "true");




//Preload Function
_root.bar._visible = 0;
_root.barBorder._visible = 0;

MovieClip.prototype.loadPic = function(pic) {

this.loadMovie(pic);
this._parent.onEnterFrame = function() {
var t = containerMC.getBytesTotal(), l = containerMC.getBytesLoaded();
bar._visible = 1;
barBorder._visible = 1;
per = Math.round((l/t)*100);
if (t != 0 && Math.round(l/t) == 1 && containerMC._width != 0) {

bar._visible = 0;
barBorder._visible = 0;
loadText3.text = "";
delete this._parent.onEnterFrame;
} else {
bar._width = per * 2;
loadText3.text = per+" % loaded";
}
};
};

//Random images
pics = new Array("forside_1.jpg", "forside_2.jpg", "forside_3.jpg", "forside_4.jpg", "forside_5.jpg");
var randNum = getRandom(0, 3);
_root.containerMC.loadPic(pics[randNum], pics[randNum], 100);
pics[randNum]._x = 0;
pics[randNum]._y = 0;
// function to generate a random integer
// between minimum and maximum, inclusively
function getRandom(minimum, maximum) {
return Math.floor(Math.random()*(maximum-minimum+1)+minimum);
}



-------------------------------------------------------------------------------

Any Idea :-)

View Replies !    View Related
Opacity Change
I want to do a background change in my website by means of opacity changing. Is it possible to change the opacity of a layer? Or can anyone tell me the way to change the opacity of layers in a frame-by-frame animation?

Thanks!

View Replies !    View Related
Opacity Change
Does anyone know how to use actionscript to make a frame-by-frame opacity change?

View Replies !    View Related
How Can I Change The Opacity
how can i chnge the opacity of a layer/object?

View Replies !    View Related
Opacity Change
what i would like to do is... press a button and make an object change from one color to another by going through opacity change... for example... a red block fades away and fades into a blue

View Replies !    View Related
Opacity Change
what i would like to do is... press a button and make an object change from one color to another by going through opacity change... for example... a red block fades away and fades into a blue

View Replies !    View Related
Can I Can Change The Opacity In Swish
I am having a ball with swish now that I know a little more. I would like to know is there some way that I could change the opacity of my shapes in swish??? if so how? Thank you.

View Replies !    View Related
Opacity Change With Actionscript?
Is there a way that you can create an opacity fade using actionscript?
Say I have a movieclip and when a button is clicked, I want it to fade to 0% opacity. Does anyone know if this is do-able?

View Replies !    View Related
Change Opacity Over Time
Hi guys, i'm looking for AS code which will change the opacity of a movie clip by +X over Y time and not go beyone a certain opacity level. I know that that the getTimer() function will need to be used but i'm at a loss as to how to devlop it. I couldn't find the answer on Google.

Any help is appriciated.
Thanks

View Replies !    View Related
Bitmap Opacity Change..
Hey,

I feel horrible for asking this... but I've been trying to remember how to change the opacity of an imported graphic in flash...

The Alpha level adjuster in the color mixer does nothing... What does??

Thanks for any help..

View Replies !    View Related
Change Opacity With Actionscript
Hey all.

i have a problem beacuse i dont know anyone who knows actionscript at all. i know the basics but not the good stuff.

anyway ... what i want to do is:

I have a picture that is a movieclip and when the mouse goes over the movieclip (picture) i want it to fade to 0 alpha. and when the mouse rolls out go back up to 100% alpha.

thats it... i'm sure its easy but i cant figure it out.

any help would rule.

thanks all.

Nick

View Replies !    View Related
Actionscript To Change Opacity
Hi,

does anyone know if it is possible to use actionscript to change the opacity of a movieclip. ie. when you click on a button a movie clip elsewhere on the screen fades.

Please let me know if this is possible.


Aly_ve

View Replies !    View Related
Image Slideshow With Fade And Text Effect Over Images
Hi All,
I am beginner to flash. And i m facing a big problem. Can anybody help me.

I want a flash movie with image slideshow with fade effect. When image enter then some text should appear on it and when image change text should also change.

Actually i need flash like.
www.gtllimited.com


Please help me.

Thanks in advance...

View Replies !    View Related
Image Change On Mouse Over
Hi Guys! Can you help me with this one? Here's what I'm trying to do. Let's say I have a couple buttons. On the other side of the document I have an image. So the question is what do I do to make this image change to another one when I move mouse to another button? For example: when mouse over button#1 - I have image #1, mouse over button#2 - I have image #2

View Replies !    View Related
Fade In Effect Stopped Half Way With An Externally Loaded Image
I have a textfield that when I click it, it would load in an external image in to a movieclip named imageHolder.
I've also created a tween for the image to fade in.
However, when I test run it, the image fade in effect would stop half way leaving the image half transparent...
What's stopping the tweening effect run to finish? How should I solve the problem?

View Replies !    View Related
Image Change On Mouse Click?
So i have this movie, there is nothing in it, its name is "1". When i load the swf there is a picture there, because the action in frame one set to:

movie = 3;
loadMovie("images/"+movie+".jpg", "1");


So it loads picture 3.jpg, which works fine. However, i have a button, and when i click it i have:

on (press) {
movie = 4;
}

So, why doesn't the picture change to picture 4.jpg? I tried it with text in a text box, and it worked pefect. This whole movie is only 1 frame, so i tried setting it to 2 frames and have it just keep cycling. How i have it set up now (whats above) works. But when it loads frame 1 the picture gets set back to 3.jpg (understandably). So i dont know what i need to do to get it to work.

View Replies !    View Related
Mouse Image Change When Clicked
Hello, thanks for reading. I've got this:

onClipEvent (load) {
Mouse.hide();
}
onClipEvent (mouseMove) {
setProperty("", _x, getProperty("_level0",_xmouse));
setProperty("", _y, getProperty("_level0",_ymouse));
}

What I would like to happen is that when I click the mouse, it changes the image.

I've got the mouse as a movie clip with an "off" image with a stop on that frame and an "on" image with no action.

I thought it would be a this.gotoandplay(2), but I can't figure it out. I just need the on image to be on for a quick frame.

Thanks for the help.

jorge

View Replies !    View Related
Mouse Opacity
Is it possible to adjust the opacity of the cursor? I want to change opacity based on xpos, ypos. Anyone know?

j

View Replies !    View Related
Thumbnails...opacity..size Change...crazy Stuff
Lets say that I have three different portfolio’s

All the thumbnails in the thumbnail grid are an accumulation of all (most) of the thumbnails from all three different portfolio’s in a random pattern. This means that they are not like all of portfolio one are on the top row and two on the second..and so on. They are all mixed up.

The thumbnail grid will load initially with all the thumbnails at 30% opacity and as you scroll over the the different thumbnails the thumbnail that is directly under the mouse will grow maybe 10 to 20% and will highlight. At the same time the images that are in that same portfolio will also highlight. (which are in a random pattern.)

Can anyone help me figure out how to do this? i've tried so many combinatiosn of buttons, and mvoei clips but I can't get both effect to happen together. Any help would be great.

View Replies !    View Related
Button Fade On Mouse Over
Greetings all,
I'm a noob and I have a question about fading.
I've extended kirupa's tutorial on displaying hover captions and mixed it with creating a hyperlink on the same movie, now I need to have my buttons fade when the mouse goes over them.

I don't know if this is possible, I don't really know AS can someone help me?

TIA

Julio

View Replies !    View Related
Button Fade Out On Mouse Out
Hello, I would like to know how can I make a button fade out on mouse out? I just know it's done by action scripting, I am new to flash and I tried already but could not figure it out. Thanks for you help.

View Replies !    View Related
Button Fade On Mouse Over
Greetings all,
I'm a noob and I have a question about fading.
I've extended kirupa's tutorial on displaying hover captions and mixed it with creating a hyperlink on the same movie, now I need to have my buttons fade when the mouse goes over them.

I don't know if this is possible, I don't really know AS can someone help me?

TIA

Julio

View Replies !    View Related
Button Fade Out On Mouse Out
Hello, I would like to know how can I make a button fade out on mouse out? I just know it's done by action scripting, I am new to flash and I tried already but could not figure it out. Thanks for you help.

View Replies !    View Related
Button FADE Effect
Yes, can you please upload the .fla it will help me out alot with the same effect on www.natl.tv one and yes do you have AIM or hotmail so I can add you for help btw Is this the professoinal way to do it?

View Replies !    View Related
Image Flip - MouseOver Button Triggers Image Change
Hello all,
My appologies if this question has already been answered if so i must have missed it.

My question is easier to explain by pointing here...

http://www.htmlgoodies.com/beyond/dualflip.html

The thing is the example above is in javascript and i would like to do the same thing in Flash.

Roll the mouse over a button and an image on the stage changes, then being a roll over the "image" natually flips back onMouseout.

i'm thinkin' typ

shownew == image1

on(mousover)
{
shownew(image2);
}
stop()

on(mousout)
{
shownew(image1);
}
stop()

on(press)
do what ever.


Hope this makes sense and please ask for more info if needed, or if possible a tutorial some where. 'cos this would really help me.

Thanks for your time, reading this and even more thanks if you can help me.
Mutex

View Replies !    View Related
Image Flip - MouseOver Button Triggers Image Change
Hello all,
My appologies if this question has already been answered if so i must have missed it.

My question is easier to explain by pointing here...

http://www.htmlgoodies.com/beyond/dualflip.html

The thing is the example above is in javascript and i would like to do the same thing in Flash.

Roll the mouse over a button and an image on the stage changes, then being a roll over the "image" natually flips back onMouseout.

i'm thinkin' typ

shownew == image1

on(mousover)
{
shownew(image2);
}
stop()

on(mousout)
{
shownew(image1);
}
stop()

on(press)
do what ever.


Hope this makes sense and please ask for more info if needed, or if possible a tutorial some where. 'cos this would really help me.

Thanks for your time, reading this and even more thanks if you can help me.
Mutex

View Replies !    View Related
Mouse Over 1 Button To Fade All Buttons?
I am trying to make buttons similar to http://www.ianschragerhotels.com/home.html, where as one mouses over a button, the OTHER buttons white out. I am using Flash 5. Please, if anyone has any idea how the tell target/roll over function could effct all other buttons - let me know. Thank you very much.

View Replies !    View Related
Flash Button Fade-out Effect
Hi, I’m sure this is a simple thing that I just don’t get. How do I do a button fade-out when the mouse rolls off of it?

I create a button. On “Over” I place a movie clip. When the mouse rolls over the button the movie clip plays a fade-in effect giving it a nice smooth transition, but when the mouse moves off the button it snaps back to the “Up” button-keyframe. I want to play another movie clip with a fade out effect, but there’s no “Off” button-keyframe. How does this work?

I’m using Flash MX 2004 version 7.2.

Thanks for your help!
-James

View Replies !    View Related
Opacity Of A Graphic Depending On Mouse Position
Hi All

I'm looking to change the opacity of a graphic depending on where the mouse is on the Y axis eg 0-100 no change to the graphic 100-500 the graphic becomes trasparent as you move the mouse down the page until you reach 500 then the graphic is invisible

Any help would be great

Regards

John

View Replies !    View Related
How Do U Create The Macromedia.com Button Effect With Fade Out
hi all, this is for FLASH 5.

on the macromedia site they have nav buttons along the top (not the big swf with ads) when the user holds mouse over button it plays an mc of the menu color changing to blue slowly, simple they just add an mc to button on frame 2 of the button instance, but when the user moves mouse off the button it fades out slowly ???

if i have not been clear here please tell me, but i am sure u will know what i mean.

can anyone tell me what actionscript is required to get the button to fade out once mouse is moved away ???

thanks protocol

View Replies !    View Related
Button Effect Delay, Then Fade Out On Roll Out
I want to get this spotlight to delay its fading in until the mouse has been over the button for a couple of seconds, then it would fade out only after it has faded in, and nothing would happen if the mouse grazed the button. Attached is the flash file, it might be easier and less time consuming if someone could show me how do this effect on my flash file or have their own version. Thanks.

View Replies !    View Related
So Far No One Has Been Able To Help Me: Button Effect Delay, Then Fade Out On Roll Ou
I want to get this spotlight to delay its fading in until the mouse has been over the button for a couple of seconds, then it would fade out only after it has faded in, and nothing would happen if the mouse grazed the button. Attached is the flash file, it might be easier and less time consuming if someone could show me how do this effect on my flash file or have their own version. Thanks.

View Replies !    View Related
Sparkle Image Effect And Button Sound Effect
Im trying to figure out how to make sparkle effects to images. Im new to this let me say first off but im not new to web design and htmls.
I also wanna know the button sound effect code. On 50 cent.com everytime you move over a link there is a gun cocking sound and then when you click the link it makes a gun shot noise. How was this achieved?

View Replies !    View Related
Constrain Objects To Fall Within The Width Of Canvas, Change Opacity As Object Falls.
First time using Flash and I'm trying to modify a tutorial I found on this site. Bear with me if this stuff is too much of a noob question =T.

I'm using this tutorial: http://www.flashkit.com/tutorials/Ac...-980/index.php and changing it so that there are leaves instead of snow falling. So far I have this: http://dcdomain.org/images/taro/left.swf There are a few things I would like to modify though.

1) Some of the leaves are falling outside of the right margin, is there a way for me to put in a constraint that would force the leaves to stay within the canvas parameters, either not allow leaves to fall that far to the right, or have them bounce back to the left when it hits the right margin.

2) I would like to get the leaves to fade out as it falls, so when it reaches the bottom, they should have an opacity of around 0 to 10. What are the steps I should do, or the actionscript I should add to get this effect?

Existing Code:
Frame1:

PHP Code:



shape = Random(4) + 1;
flakey.gotoAndStop(shape);
fallwidth = 300;
flakey._x = Math.random() * fallwidth;
flakey._y = 0;
fallheight = 550;
magnify = Math.random();
flakey._xscale = (magnify * 75) + 25;
flakey._yscale = (magnify * 75) + 25;
step = (magnify * magnify * 2) + 3;
drift = (Math.random() * 4) - 2;
spin = (Math.random() * 6) - 3;
flakey._y = Math.random() * fallheight;
gotoAndPlay(3);




Frame2:

PHP Code:



shape = Random(4) + 1;
flakey.gotoAndStop(shape);
fallwidth = 300;
flakey._x = Math.random() * fallwidth;
flakey._y = 0;
fallheight = 550;
magnify = Math.random();
flakey._xscale = (magnify * 75) + 25;
flakey._yscale = (magnify * 75) + 25;
step = (magnify * magnify * 2) + 3;
drift = (Math.random() * 4) - 2;
spin = (Math.random() * 6) - 3;




Frame4:

PHP Code:



flakeyfall = flakey._y;
if ((flakeyfall <= fallheight) && (flakeydrift>= -35) && (flakeydrift <=  fallwidth+35)) {
flakey._y = flakey._y + step;
flakey._x = flakey._x + drift;
flakey._rotation = flakey._rotation + spin;
gotoAndPlay(3);
} else {
gotoAndPlay(2);
}




One of my friends tried helping by providing me with this:

PHP Code:



//on frame 1

this.onEnterFrame = function(){

if(leafClip._x<rightboundary && leafClip._x>leftboundary){

//this is the function to make leaves fall
leafFalling()

}
}

//leaffalling function

leafFalling = function(){
//initialize alpha for leaves
leafClip._alpha = 100
//then your random falling actions go here
}

-to make the leaves fade with actionscript:
//first make them start fading at a certain y-position
this.onEnterFrame = function(){
if(leafClip._y<400){
leafClip._alpha += (0-leafClip._alpha)*.5
}
}




I tried messing around with the code he provided, inserting it into spots within the code I thought would work... obviously I had no luck.

I was able to get the leaves to change opacity, but only once and I guess the alpha stays at 0 afterwards, I tried adding the line where they return to 100% opacity afterwards, but that didn't work.

Any help would be appreciated. Thank you!

View Replies !    View Related
Button And Image Fade-in
alright i need help on my project agian. i have 5 button adn i need to know how to make it so when button 1 is clicked the 2 pics fade-in and then wehn button 2 is click they fad out and the buton 2 picks fade-in. can anyone help do something like thhis or anything similar.

i need some quick help its due tomorow!!!

View Replies !    View Related
Button And Image Fade-in
alright i need help on my project agian. i have 5 button adn i need to know how to make it so when button 1 is clicked the 2 pics fade-in and then wehn button 2 is click they fad out and the buton 2 picks fade-in. can anyone help do something like thhis or anything similar.

i need some quick help its due tomorow!!!

View Replies !    View Related
Enlarge Image While Playing With Opacity
as the title mentioned, i want to enlarge the image while this script is still running


Code:

var walk:Number = 0;
var visible:Number = 0;

function slideAcrossScreen()
{
if (walk <= 30)
{
photo._alpha = visible;
photo._x++;
walk++;
visible +=4 ;
}

else if (walk <= 80)
{
photo._x++;
walk++;
}

else if (walk <= 150)
{
photo._alpha = visible;
photo._x++;
walk++;
visible -=4 ;
}

else
{
photo._x=-800;
}
updateAfterEvent();
}

_root.onEnterFrame = function()
{
slideAcrossScreen();
};
i dont mind if the script is refined, of course the shorter the better. I choose to use script because the transition is smoother. I tried playing with _yscale and _xscale. But i dont really know where to put it. May anyone help me?

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved