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




Freezing The Animated Button



hi

i ve made a button with:
- a trilling effect when moving over
- a sound playing when moving over
- on a fading background (white>blue>white>...)

now i want to now how i can program the button that when you press it the whole scene freezes (= freezed button, no music, freezed background). after freezing the button should fade away on the freezed background.

thanx



FlashKit > Flash Help > Flash General Help
Posted on: 06-24-2003, 05:54 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Animated Buttons Freezing In Firefox But Not IE?
I searched through the forums and there doesn't seem to be any postings regarding this issue and forgive me if this should be posted elsewhere. If this has been posted elsewhere ... please forgive me.

I've done the Animated Buttons tutorial (love the results) ... to the letter with success and I've gone back through my actionscript and all seems well.

I'm using CSS to place the chunk of Flash that is the navigation for a traditional XHTML/CSS site (yes I'm aware of the usability issues of using Flash for navigation).

In doing this ... the navigation works when the page loads and the rollovers all work but when I scroll down the page to look at the content ... then scroll back up to the navigation ... it freezes the rollovers ... until I actually click on one of them. Then they begin to work as rollovers again. This freezing seems to only occur when you linger at the bottom of the page with the navigation off your viewable area for a few seconds. If you scroll down and scroll up quickly the rollovers will still work.

(This is NOT occurring in Internet Explorer but Firefox - I'm aware of the traditional ActiveX issue).

I'm a bit puzzled about why this is occurring? I've even implemented an ActiveX work around to which it once again works great in IE but still the same results in FF.

Anyone else run into this issue? Am I completely crazy and this is only happening to me and only the machines I work on?

This is the layout I'm working on with the nav here:

http://www.wayneracine.com/gina/main_site/

Hopefully someone can duplicate the issue.

Button Freezing In IE
Hi, ive made a flash document in flash 8, all my pages work except one, when you click the next page button on the "history" page it locks up. how ever i dont get this problem when testing or when using firefox. the code is a simple go to and stop command. any help would be great.
heres a like to the file so you can see for your selves.

http://geocities.com/gvp_16

Thanks.

Geraint

Help With Zoom In And Button Freezing
Please can somebody help me with this problem.

I am trying to create a nav bar where when a button is rolled over the other buttons shrink in size.

At the moment it works but if you move the mouse too quickly it causes the buttons to freeze in mid motion.

I have attached a sample file.

Any help would be greatly appreciated as I am still getting to grips with actionscript and this is driving me bonkers!

Button - Freezing In Down State?
hola people...

working in MX and I have button w/ up, over & down state and on release I woudl like to freeze it in the down state...

I am sure that there is a very simple explaination for this but I just can't figure it out...

any help would be appreciated!

thanx!

Mouse Away And Button Anim Freezing Bug?
Hi,

Lets say I have a button that fades in and out if I roll over or away from it. The problem is if I pull the mouse in the middle of the fading the animation freezes at the darkest keyframe and i have to roll over the button again to resume the fade out animation. This is annoying when we have a menu with allot of items and they freeze on a specific animation keyframe when I pull the mouse away in the middle of the button anim...

Is there any code or something I shall add to avoid this bug?

Thanks
Michel

Linebreaks And Freezing A Button's Position
Alright, I'm new to flash and actionscript, and I'm making a site in flash for a school project. I was wondering what the command would be to cause a line break when text is inserted through actionscript.


Code:

hometext.text = "Text here";
Another problem I'm having is I have buttons that move out when the mouse is over them. I want to know how to lock the button in it's "moved out" state so that the user knows which catagory they're in, and for the button to move back when a new button is locked in a "moved out" position.

Animated Button
Good morning to All of us...

I need some help with animated buttons. Here is the thing
The button has a background and the letters. What I would like to do is when the HIT occours I want the background to slide out and I want the letters to transform.
Want to make them smaller.

Anyone knows how to add a clip to the HIT state???
I've tried it but I know I messed it up because its all over the place

Tutorial links are welcomed too.

Animated Button
Question reguarding animation and button states.

I've made a button that has animation in both it's "over" and "down" states. However, I have some problems with them. 1. For the "over" state, I have an image turn upside down but it continuously turns over while the mouse is over it. I only want it to turn over one time for the duration the mouse is over it. Also, if I remove the mouse from the button it just abruptly stops rotating upside down and returns to it's "up" state. I would like for when the mouse exits the button for it to gracefully begin to turn back upside right.
So, to the point, how do I force it to only rotate one time each time the mouse is over the button, and how can I make it so I can have the image reverse it's motion on the mouse out?

--Chris

Animated Button
I've created a movie clip to go inside my button, (on "down") but I can't get the entire movie to continue playing, because once you release the button, the movie stops playing, rather than continuing. Can anyone help? Thanks.

Animated Button
I need to make a button that has a mc in the roll over state. Then when the mouse leaves the roll over area the mc continues to play for the rest of the time.

Does this make sence?

Animated Button
I have a mc that I want to insert into the over state of my button, when I drag the mc out onto the board, I get the cannot place a symbol inside of itself error message. I have an enter button, that when you rollover will rotate. That is all that I am trying to do. Thanks

Animated Button Help
hi,
I want to play a animation when the button is pressed. this animations leads on to the link of the button.I dragged the animation movie clip in the 'hit" frame of my button, but when i press the button, it only shows like 1 frame of the movie and it keeeps looping that 1 frame. I even tried this code in the button; on (release) {gotoandPlay("movie");}
BTW:"movie" is the 1st frame of my animation.
assistance needed.thanks

Animated Button
I designed an animated button that expands an image on the over state using an animated movie clip and shrinks it on the up state with another movie clip, when the button first loads you see the image shrink and then it performs as i intended.
what i wanted was the button to be there, when the mouse is over it the image expands and when the mouse is off it then shrinks back, is there an easier way to achieve this with actionscrips instead of the rookie way that i went about it???

Animated Button
hey,
here's the problem, seems pretty simple, but i just cant seem to figure it out.
i have a button(the button is a face). i want that face to start talking after its clicked on(released), as of now i can only have it do the talking when the mouse is over it, or i can have it so it talks while the mouse is held down. but it stops when the mouse is released.
plus, i'm working within a quiz, so its stopped on one frame.
any ideas for this?
appreciate any help offered.
thanks.

Animated Button
i figured out how to add a movieclip to each frame, but i still have a problem. when i create a movie clip in "over" after the animation has played, it goes back to frame 1. even if i put an actio stop in the last frame... how do i make it stay on the last frame?

Animated Button
I have a button which is motion tweened in a movie clip which was fine until I put the over state on it which just changed the colour now when the button is in the tween stage it flashes between all the states of the button. How do I stop it from flashing I only want it to flash on the over state which is the only one that is different.

Animated Button
I have a button which is motion tweened in a movie clip which was fine until I put the over state on it which just changed the colour now when the button is in the tween stage it flashes between all the states of the button. How do I stop it from flashing I only want it to flash on the over state which is the only one that is different.

Animated Button
I've got a problem while making an animated button. I've never done it before so that's probably the problem but ok.
I created a movie clip and put it on the Over frame. Now the clip doesn't play when I hover over the button and I can't figure out what I've missed.

Animated Button Help
I know this has been talked about numerous times, but i just can't get it so far. I'm just trying to simply do a button that when "rolled over" it enlarges and when "rolled out" it shrinks back down to the original size.

Can someone please help me out and explain where I am going wrong?

Animated Button Help
Hello I need help with animating a button
how do i ad an animation to a button when the curser goes over the button i want to ad a fade in and out animation.
i created a movie within the button but that does not work. help what am i doing wrong.

Animated Button Help
Hello I need help with animating a button
how do i ad an animation to a button when the curser goes over the button i want to ad a fade in and out animation.
i created a movie within the button but that does not work. help what am i doing wrong.

I Need Animated Button Help
Hello I need help with animating a button
how do i ad an animation to a button when the curser goes over the button i want to ad a fade in and out animation.
i created a movie within the button but that does not work. help what am i doing wrong.

Animated Button Help Please
I was wondering if someone would know about this problem im having ( a brain fart really).
Anyway i made a few buttons with a movie clip function so there was animation when rolled over and rolled off. But when pressed i want to script the viewer to go to a specific place in the main timeline not within the button movieclip. If you understand what im saying, please i would appreciate your help tremendously. This has puzzled me for about a year now. yes a year.
should i use a placeholder_ script? does that matter if so i never used one before. aaaaaarrrrrgggggghhhhh! im frustrated
please help
thank you again
Anthony

Animated Button Help
Please could someone explain how to create these buttons?

http://www.truthtv.org (Let first page load)

u see the when u rollover the buttons it displays an arrow allowing to to scroll upwards and downwards? How is this done?

Any ideas?

Heres what I got so far:

Animated Button Help
Hi all

I'm trying to create this buttons that are animated but I want a specific beheaviour

I want the button to play an animation when the mouse is over it and when the button is clicked I want another animation to play. However when I release the mouse button and the mouse is still over the button I made, I don't want the last animation to be deactivated and the mouse-over animation to play again. I just want the animation that plays when I click on the button to finish playing even after I release the mouse button and the cursor is still on the flash button and everything to stop afterwards.

So the last thing the user sees after clicking the button is the result of the whole two animations combined together before the next page of the website loads

Does it make sense? I don't know if it's possible but I hope there's a way to do it

Thanks!

Animated Button
Hello everyone. Sorry if I am repeating what others have asked here, but I could not find an answer to my question through the board. Okay, I have a button that I want to slowly turn around. I have made the movie clip for this. I want the animation to show when the button has been clicked on. And it won't work for me. It will work if I put the movie clip in the over stage, but not on the down stage, where I want it. I am also using Flash 5. If anyone can help, I would appreciate it.

Animated Button
When you make an animated button that is basicly a square with some writing on how can I control the hit state on rollover I cannot stop the text from getting in the way.

You have to carefully guide the mouse around the outside of the square to trigger the rollover.

Thanks for any help

Help With Animated Button
Hello folks,

I received help a while back on a problem with having an animated button where the hit box grew with the animation and then shrunk on rollout. That was very very helpful and I have used that many times now. I have come across a situation where I can't figure out a way to use it because of the invisible button element.

I am attaching the file, but what I have here is this:

I have a main nav button, inside that button on a seperate layer I have an animated submenu that comes out from under it's mask during the overstate of the main nav button. I can't figure out a way to make the sub nav stay out when I roll down over it without putting the invisible button (used in the animated button before). The problem is when I use the invisible button it has to be the top layer and therefore will not allow me to have multiple buttons underneath it that point to different places. Any help with this would be greatly appreciated.

Animated Button Help.
Hey y'all. I can make an animated button fine - well, thought I could, but I've been having trouble with the "hit" function.

The Up, Over and Down work perfectly, but for some reason the 'Hit' just doesn't do anything.

I've done a movie clip on it, and then a shape tween inside that, and that shape tween simply isn't happening when I click it.

My file is too big to put up; however, I was wondering whether I could send it to anyone and they could help me out?

Any help would be most appreciated!

Thanks,

Tommeh.

Animated Button
Hi,

I'm sure this is very simple but it has me stumped.

Basically I have an animated button made of text

on the up state it is 100%, on the over state i have a little animation which transforms it from 100%-150% and rotates it.

I want it to stay at that size for the down state so i have a graphic of the text at that size in the down state.

However, when i test it, it runs the animation when the mouse is over as it should do but it also runs it when it is clicked on (which i don't wan't it do to)

Attached is the fla and any help is most appreciated.

Thanks.

Animated Button Help
I have recently have had the time to contine learning Flash MX 2004 and my question is this. I have tried to create animated buttons using movie clips for the over, up, down and so on using stop commands; basically everthing is done according to numerous tutorials and I have even downloaded buttons that work. The problem is the do not work when I open or create them the are no transitions no animation when I go to test the button. Is there something else I need to turn on; do I need to set some preference. I am frustrated by the fact I have followed so many tutorials exactly only to still have the buttons not work. I am currently working in version 7.0. If anyone could explain the resolve to this problem I would be most greatful.

Animated Button Help
hey guys,

new to the game and trying to make animated buttons. well i sort of successfully created them but there is a problem. when you roll over a button it shows a small sample of a piece of work. and when you roll out, you guessed it, it goes away. but the problem is that they "stick" once in a while and one won't go away. or it may not even show. it's totally random too. i don't know what i have going on that would cause these hang-ups.

sample of the script:

on (rollOver) {
with (this.btn01) {
gotoAndPlay("01 in");
}
}
on (rollOut) {
with (this.btn01) {
gotoAndPlay("01 out");
}
}

"01 in" and "01 out" are the frame labels in the movie clip for the fade in and fade out of the animation. at the end of "01 out" it returns to frame 1 and stops (waiting for another rollover). i have checked to make sure that i have no conflicting instances and all that. it works, it's just not flawless.

what's going on here? i have attached a sample. go from button to button and you will eventually see.

thanks
kurt

Animated Button Help Plz..
How do i build a animated button with a motion/shape tween that will play on the overstate, and then when you move the mouse off the button or hint state another tween will play? I understand simple animated buttons but i'm just stuck on the building of the second tween. thx for the time every1.

Animated Button
I'm trying to make a button that when you roll over it it plays an animation inside of it. I put a script on it that tells it to do that, but it only goes to the frame and stops.

ie. gotoAndPlay("button", 2) and it does what i would expect gotoandstop to do.

animations are in button MCs, which are in the Menu MC.

Please Help...Animated Button?
Hey Im trying to make an animated button, and I want a ribbon the come out and slide underneath the button when someone scrolls over it and then I want it to slide away when they move their mouse off it, I already figured out how to do the over state but Im stumped on how to make the ribbon slide away when the user scrolls off the button.

Animated Button Help
Hello. I am using animated buttons on a site but want more control over how they remain selected.

They work fine but when I navigate away from a frame, using a button that is not in the button menu, I want the main button to become deselected. Any help would be much appreciated. This is the code that Im using:

flashmo_button._visible = false;
var button_label:Array = new Array("Home", "Destinations", "Activities", "Programmes", "Search", "Travel Info", "About Us", "Contact Us");
var total_page:Number = button_label.length;

for( i = 0; i < total_page; i++ )
{
flashmo_button.duplicateMovieClip("flashmo_button" + i, i);
this["flashmo_button" + i]._x = flashmo_button._x + (flashmo_button._width+1) * i;
this["flashmo_button" + i]._y = flashmo_button._y;
this["flashmo_button" + i].label_txt = button_label[i];
this["flashmo_button" + i].no = i;
}
function change_page(no)
{
for( i = 0; i < total_page; i++ )
{
this["flashmo_button" + i].button_mc._visible = true;
this["flashmo_button" + i].graphic_bg1._visible = true;
this["flashmo_button" + i].graphic_bg2._visible = false;
}
this["flashmo_button" + no].button_mc._visible = false;
this["flashmo_button" + no].graphic_bg1._visible = false;
this["flashmo_button" + no].graphic_bg2._visible = true;
_root.page = no + 1;
_root.play();
}
change_page(0);

Cheers

[CS3] Animated Button
I am trying to make buttons/menu with a small animation on mouse over and reversed on mouse out. I kind of got it with telltarget and gotoandplay commands, but that is not perfect, because if I move the cursor quickly over the button, it will jump to the mouseout animation before it has finished the mousover animation.

This was kind of hard to explain, but here is an example on a similar effect.
www.bleed.no (the black bars being filled on mouseover)

Animated Button
I have a series of animated buttons. When a rollOver occurs a simple animation plays then stops in the middle and on rollOut the animation finishes. The problem I'm having is when the buttons are clicked. When a button is clicked the animation stops in the middle, it should do this to tell what page you're on, but if you roll over another button they don't work. If anyone wants to take a look, I'm including the .fla. Thanks.

Animated Button
Hi everyone,

I created a Send button for this form and used the following script to animate it:

send_mc.onMouseDown = function() {
send_mc.gotoAndStop("down");
}


send_mc.onMouseUp = function() {
send_mc.gotoAndStop("normal");
}

Only problem is that no matter where on the page i click the button will animate, I just want the button to animate when you click on it directly. Any ideas? Thank you

Animated Button
I'm new to Flash and attempting to create an animated button. I would like to have about 7 buttons, and be able to just just bring in that button from the library onto the stage, and then change the name of it. Does anyone know of any easy method, or online tutorial to perform this?

Animated Button
hi there...

I'm wondering how to do the button that I saw in this new movie flash web called "The Day After Tomorrow".

Here's the web.... The Day After Tomorrow

thanks

Animated Button
Hi there, Im just starting out, and Im wondering how to animate a button. Like, on rollover i want a certain animation to happen. I tried


Code:
on(RollOver) {
Home.onRollOver = function() {
gotoAndPlay(101);
};
}
but it didnt work you guys probably know

thanks, IoX

Animated Button
hi there...

I'm wondering how to do the button that I saw in this new movie flash web called "The Day After Tomorrow".

Here's the web.... The Day After Tomorrow

thanks

Animated Button
I want to make a button that when on "over" position, the button  grows (Movie clip starts)and when rolled-off shrinks back down (Movie clip starts but backwards.

How can i make this?


The button that i made works fine on the over position but on the off position i cant get to work.



Animated Button
This may very well be more of a dreamweaver question than Flash but I'm lost.

I have created a nice little animation button in Flash 4, and I embedded the *.swf into my dreamweaver doc but I have been unable thus far to get it to link to the appropriate page. Any help would be appreciated greatly. TIA

Animated Button (MC)
Hi,

I am relatively new to FLash CS3 and AS3. I followed the Tutorial to create animated Buttons. Perhaps someone can help me to get things work. How can I control the text in the .as File. The Text should be dynamic and get its values from an xml File.
I want to create a dropdown Menu like the one on the following page:
http://www.newmedia.ie/flash/
Any hints how I can do that?
What about the transitions used on that page? How did they do that?

Thank you

AS3 Animated Button
here is my question when I used this code it traces on Mouse_Over and Mouse_Out, but my movie clip (myBtn) doesn't go to frame 2? if I change this.gotoAndPlay(2); to myBtn.gotoAndPlay(2); it works?
what am I doing wrong?? I thought (this) targets the movie clip launching the event?

Code:

myBtn.addEventListener(MouseEvent.MOUSE_OVER, mOver);
myBtn.addEventListener(MouseEvent.MOUSE_OUT, mOut);
myBtn.buttonMode = true;

function mOver(event:MouseEvent):void
{
   trace("over");
   this.gotoAndPlay(2);  // myBtn.gotoAndPlay(2); works??
   
}

function mOut(event:MouseEvent):void
{
   trace("Out");
   this.gotoAndPlay(7);   //myBtn.gotoAndPlay(7); works??
}

Help What Bug Is Freezing Up My .swf?
Hi all,

was hoping to get through the rest of my site without having to post again...

I'm using the Kirupa 'Sliding menu' as detailed here:

http://www.kirupa.com/developer/flash8/slidingMenu.htm

Recently however, my .swf has started to display a glitch, whereby the buttons which scroll the movieclip stop working after a short time, effectively freezing the site. Can anyone tell me why this is happening? It seems to have started to occur recently, while I was optimizing my site by swapping out my (embarrassingly large) .jpegs for much smaller ones, although I'm sure that's not what's causing the problem. Now it happens every time I test my .swf, as well as in the final published site (www.lauriekono.com/troy - try clicking on the menu buttons for a short time and see for yourself). I should add that publishing in Flash 7 didn't seem to stop the bug, and neither did removing the "loadSound" lines of code (in case streaming the sound was causing a conflict).

I've tried everything I can think of - does anyone else have an idea?

the fla. is here (apologies for its large size):

http://www.lauriekono.com/kirupa/Mil..._optimized.fla

thanks in advance,

Jif

Animated Button For Beginner
How do you make a dropdown menu for a button that appears when you hover over it. The buttons will then be linked to the appropiate page. Ive searched the tutorials but Im probably blind!

Thanks alot for your help in advance

Nick

Copyright © 2005-08 www.BigResource.com, All rights reserved