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








Buttons / Animation Not


I can't seem to get this rollover button to work. I have a button set up with a pic for the up, down, and hit states, and an animation for the over state. For some reason, when I mouse over, nothing seems to happen:
<A HREF="http://www.manginassociates.com/descent/test1.html">test1.html</A>
<A HREF="http://www.manginassociates.com/descent/test1.fla">test1.fla</A>
When I off-set the button animation a bit to the right, it looks like the animation is constantly being restarted:
<A HREF="http://www.manginassociates.com/descent/test2.html">test2.html</A>
<A HREF="http://www.manginassociates.com/descent/test2.fla">test2.fla</A>
If anyone can let me know what I am doing wrong, I'd greatly appreciate it. I'm going to keep playing with it to see if I can get it to work. Thanks in advance!




FlashKit > Flash Help > Flash MX
Posted on: 08-20-2002, 11:50 AM


View Complete Forum Thread with Replies

Sponsored Links:

Buttons - But With Animation
Hi,

this is a very simple question(!).

I know how to make simple buttons - great they work fine. But i want a button that when I mouse over slowly grows slightly (over several frames of tweened animation).

How do I make the button animated rather than just snap to its 'over' state?

Thanks for any help you can offer!

-Nex

View Replies !    View Related
Buttons And Animation
Hi,

Please can you help me with a question.

I wish to display a page with a spinning disc in the middle of the screen.
When you mouse over the button on the side, I want the disc to spin until it is side ways, then I want to spin a new disc fro theat position to display fully so you can see the face which will have text on it, and when you mouse off it turns back to side ways and the original disc (The blank one spins again).

I would imagine this is going to use action scripting which I am not that good yet. The rotating image I have done already along with the button, but I can not figure out how to do it with a smooth transition not mid way through the movieclip.

Can someone please help.

View Replies !    View Related
5 Buttons And 1 Animation
i have another problem:

i have a flash movie and a 5 button at the left. and i have a small movieclip in the middle.

these 5 buttons triger this small movieclip. at the end of the movieclip-animation- i need to know which button is used to triger this animation so that i can start corresponding swfs for each button.

how to do this?

View Replies !    View Related
How Do You Get Animation In Buttons
For example, take this page. http://www.toniandguy.ie/

The buttons in the navbar al have smooth designs and move when you go over them with your mouse.

No all I want to now is if someone's got a tutorial for me where they explain how to make such buttons..

View Replies !    View Related
7 Buttons, 1 Animation, If/else
Hi there,

On my stage I have 7 buttons, each loads an external swf. When I click on any of the 7 buttons for the first time, I would like an (in the main movie) animation to play followed by the external swf to load. The animation can be either directly on stage or in a MC sitting on stage.

However, I only want that animation to be played once. When any of the other links are clicked, I would simply like the external swf to load as the animation has already played.

I'm guessing this could be achieved by and if/else statement. My reasening until now is.

animation = has the animation and a stop on the last frame. Named animMC on stage.
buttons = something like


ActionScript Code:
on (release){
if (_root.animMC.start) // where start is the label on the first frame
then {
_root.animMC.play();
else
(_root.animMC.end) // where end is the label on the last frame
}
}


Firstly I don't even think I coded the AS right (AS newby here ) or even if my logic is correct on how to do ths. I've never even coded an if/else statement before.

Any help would be greatly appreciated.

Many thanks!

PS: This will go on a cd if it changes anything.

View Replies !    View Related
Animation Over Buttons
can i have an animatiion over my button?
the hit area takes up half the button and the animation dosnt overlap any of the hit area, just the other half of the button

View Replies !    View Related
Rolover Buttons, Animation On Out ?
hi i would like to know how the following is done:

there is a word that is a button

you hover over it, and it for example stretches.

then when you hover out, it moves back in,

instead of it just back to its origonal state.

so it animates when you mouse moves out, back into possition.


so far i have only been able to make it come out, and then when i move my mouse, it just jumps back, i need to make it gradual.

i hope you understand this, its a little difficlt to explain.

View Replies !    View Related
Buttons Don't Work While Animation Is On.
The menu buttons in my movie don't work while all the other menu buttons load and while the animation goes on. Only when the movie stops at a certain scene with a "Stop" Action the buttons work. Can anybody help me with this? I don't understand what is happening.
Thanks

View Replies !    View Related
Animation N The BG, Want It To Not B Effected By Buttons
Ok...
I have an animation playing in the BG (83 frames).
Now I want it to not be effected by buttons.

EI: Button #1 - Goto n Play (20)

so the animation goes to frame 20.

is there anyway to prevent this?

should I change it to a movie and add some effects too it? or do somethin else too it.

View Replies !    View Related
Buttons With Animation (again, But With Telltarget)
Hi, at the moment, i have the following -

Background fades in, a text message symobol fades in telling the user to set aside a few minutes for this flash presentation. A button appears to click (to continue the movie) when the user is ready. At this frame, the movie is issued a <stop> command (so it doesnt loop, and waits for the user to click the button).

My button has a nice grow then shrink effect connected to the 'over' state (I created a new keyframe on the over state, then selected my button again and F8'd a movie symbol from it, the movie is of it shrinking and growing - seems to work.) I have done the same for the 'down state', the button fades out nicely in a movie attached to the 'down state.

My proble, is this -

How do I continue playing the rest of the movie after the 'down state' animation has finished? I have tried adding an action to the final frame of the 'down state' movie, using tell target to 'goto and play' frame 230 (where the intro was stopped) , telltarget is pointing to 'Scene 1' but this isn't working - Flashplayer gives me errors saying it doens't know about 'Scene 1'.

How do I get the movie, connected to the button, to tell the entire shebang to start moving forward again?

Thanks for any help!

-Nex

View Replies !    View Related
Tut : For Roll Out Animation On Buttons?
Anyone know where i can find a tutorial on how to make a roll out animation on buttons. So that you roll over a button it moves left you move out of the hit area from the button and it moves back to orignal position.

View Replies !    View Related
Making Animation For Buttons
Well, I can make a button, I can put animation onto it, and I can place the button onan html page... BUT, I dont' know how to make any neat animation. I have adobe photoshop and image ready, and I think I should use those to do this, but have no idea what to do.

My goal - create a button that looks like a clear tube with blue substance in it. WHen mouseover occurs, the blue substance inside appears to start moving. That is my goal. Anyone able to get me started? thanks.

View Replies !    View Related
Animation On Rollover Buttons
how do you make buttons do an animation while the curser is on the button (the rollover part)?

View Replies !    View Related
Duplicating Buttons And Animation - Please Help
Sorry guys I'm pretty new to ActionScript, don't even know which search terms to use to help me so I'll try to describe what I'm trying to do. No doubt rudimentary stuff for you lot.
Let's say I have three buttons; rolling over button 1 causes a bigger button (button 1-A) to rise up from where button 1 is while at the same time all three original buttons drop down. Button 1-A then becomes active, on release gets a url, on rollout drops button 1-A and restores the 3 original buttons.
This is pretty easy of course but the ActionScript I've written so far is hard-coded for button 1 and button 1-A, for the text on the buttons, for the positions of the tweens etc.
How can I use the same movie clip for animating the rollover of button 2, to cause button 2-A to come up, which is a different colour from button 1-A and has different text, and of course emanates from button 2 ie x pixels to the right of button 1 ??
I'm thinking along the lines of selected_button = "button_1", but how do I tell the movie clip to tween button 2-A instead of button 1-A?

Thanks in advance....

View Replies !    View Related
Seemless Animation With Buttons
i have a website i'm working on for a photographer. there's 3 images and 3 buttons per page. i'd like the image a to fade in and stop. then when the user clicks on button b, image a will fade out and image b will fade in. same with button/image c.

right now i have 3 seperate movieclips; image a fading in and out with a stop action at beginning, middle and end. same goes for image b and c. not sure if i'm on the right track with this.

have tried searching to no avail. help, please? thanks much

View Replies !    View Related
Reverse Animation On Buttons
Ok, I have a button that works like I want it, when you place your mouse over it, it does the animation like I wish, but it’s a long one, so if someone moves the mouse off it, it instantly goes back to frame one, instead of this, is there a way when someone removes the mouse from over the button, the animation will start playing backwards until it reaches frame 1, and it dosnt have to be a button, cuase im only useing a button cuase i just really want a picture with a roll over effect, which is what the button does.



my guess is i have to make an action script that says if mouse is not on button, set button.swf frame -1 or something like that

View Replies !    View Related
[MX] - Buttons With Background Animation
Quick newbie question:

I have an animated background (various colored bubbles "floating" through black background).

However when I create a button, and choose the frame for my "Home" or "Links" page it jumps to that frame on the background and then continues to run....so my Home and Links pages will show up in turn as the frames go by.

When i push the Home button i want it to show my Home page, but continue to run the background animation...when i tried to put in the stop actionscript it stops the background as well...how do i get around this?

Make the back ground incredibly long? longer then i would expect any user to stay on one page and then jump to that frame? or is there a way i can stop my home and contacts and links labels from continueing to run, while allowing my background animation to run as it pleases?

Thanks for your help.

View Replies !    View Related
Buttons Toggle Different Animation?
Hey guys,

I need to do this sort of menu that different buttons pressed will toggle different types of animation. Any tips on how to do this?

For example, in the menu-buttons, I have "Intro" and "How-To".
When the user clicks on the intro button, an animation of 'intro' will be played... and after that when the user clicks on the "How-to", "How-to"'s animation plays.

View Replies !    View Related
Buttons In Animation Timeline
I have some buttons in the main timeline of an animation. I want the buttons to be active while the animation runs, but when I do this, the buttons flash through their button states while the animation runs. How can I have the buttons active and behaving normally while the animation runs?

View Replies !    View Related
Buttons Interfering With Animation
I am modifying a Flash 8 movie. The fla can be downloaded here: www.cjreynolds.com/fuda.html

There is a movie clip in the fla called "page1" with a text box with six menu items (Fuda Sushi, Fuda Maki, etc.). When the swf is run, each item has a carat charactor to the left that moves further left when the menu item is moused over, and stays there until the mouse leaves. I have added a "button" (movie clip called "japon_but") to each item. When I attach a mouse-release code to the buttons, the carat no longer stays left when moused over.

To see the effect, test the movie, go to "Cuisine Japonaise", and mouse over and stay over each menu item - the first two have mouse-release code added, and you can see that the carats beside these items act different from the botton four.

I've tried locking and hiding the button layers, and tried moving the layers below the text box layer, nothing changes. Am I doing something wrong?

I can't find what triggers the carats to move on mouse-over, or I would just add the mouse-release code to that object or frame...

Any suggestions?

joe





























Edited: 07/16/2007 at 10:07:29 PM by spamGactus

View Replies !    View Related
Buttons Launch Animation?
im tryin to figure out how to make buttons link to animations... im still a beginner and know almost nothing about actionscript... ive figured out how to make things lose and gain opacity... what i want to do is click a button and make an animationg get goin (a motion tween to be exact)... how would i make it so that a button click makes a motion tween start up?

View Replies !    View Related
RollOut Animation For Buttons
It seems like such a simple thing to do, and I know my way around actionscript, but for the love of bob I can't make buttons have animations when the mouse leaves their areas as well as when it goes on them.
I tried just using the up frame without the over one and putting a movieclip in the 'up' frame of the button and then doing something like on (rollOver) {this.the_movieclip.gotoAndPlay(6) } but I can't get to influence things inside a button.
So, I know how to make a button do an animation when you roll over with the mouse but I need to know how to play one when you roll out.
All help is greatly appreciated.

View Replies !    View Related
Previous/Next Buttons With Animation
hello again everyone!

I am trying to create some simple buttons that when you hover over the left or right side of an image, a small arrow will slide out and you can either go to the next image in a series or to the previous. I hope this isn't too difficult..

Another thing is that I'd like to have each image transition from one to the next, it can be a simple fade. I'm attaching an image to get the idea across. Any help is appreciated and I need to keep this in Flash 8.

Thanks!

View Replies !    View Related
Using Animation Function With Buttons.
Hey!

What I'd like to create is a menu. Let's say, menu has 4 buttons. But instead of creating each a animation (which is the same for all of them) I'd like to create an animation function and use the function with the buttons. The question is how to create such function and integrate it with buttons. The animation function should contain onRollOver and onRollOut functions too for start. For animations I will use AS 2.0. mx.transitions.Tween.

All kind of help is awaited.

Thank You in advance

View Replies !    View Related
Buttons Launch Animation?
im tryin to figure out how to make buttons link to animations... im still a beginner and know almost nothing about actionscript... ive figured out how to make things lose and gain opacity... what i want to do is click a button and make an animationg get goin (a motion tween to be exact)... how would i make it so that a button click makes a motion tween start up?

View Replies !    View Related
RollOut Animation For Buttons
It seems like such a simple thing to do, and I know my way around actionscript, but for the love of bob I can't make buttons have animations when the mouse leaves their areas as well as when it goes on them.
I tried just using the up frame without the over one and putting a movieclip in the 'up' frame of the button and then doing something like on (rollOver) {this.the_movieclip.gotoAndPlay(6) } but I can't get to influence things inside a button.
So, I know how to make a button do an animation when you roll over with the mouse but I need to know how to play one when you roll out.
All help is greatly appreciated.

View Replies !    View Related
Seamless Animation With Buttons
i have a website i'm working on for a photographer. there's 3 images and 3 buttons per page. i'd like the image a to fade in and stop. then when the user clicks on button b, image a will fade out and image b will fade in. same with button/image c.

right now i have 3 seperate movieclips; image a fading in and out with a stop action at beginning, middle and end. same goes for image b and c. not sure if i'm on the right track with this.

have tried searching to no avail. help, please? thanks much

View Replies !    View Related
Buttons, On Mouseout Play To The End Of Animation?
How do I make the button finish its animation back to the start when I move the mouse off the button.

e.g. http://www.ritdaw.f2s.com/rit/compcen.html

i want it to finish spinning?

is this possible?

Thanks

Richard

View Replies !    View Related
*Menu Buttons Animation HelpREWARD
i am making buttons with menus in them, i want to have these one other buttons load in side the buttons like a menu, and i cant figure out how to get them to do mouseover and stuff and load in the button. it is simple, just give my buttons on my menus an loading animation, in an order i will tell u, and then jutst give them each a mouseover animation with i have the on and off for for each button, i have all the files neccasery to make it, and an example of what it will look like when done.
Thanks,
Vcdman

View Replies !    View Related
Buttons-Down Frame Animation Not Working
I have a button in my flash menu, and on the down state of the button, the animation i have for it doesnt play from beginning to end when you click and release (like a normal left click), the only way to see the whole animation, you have to click and hold. Can anyone tell me how i would make the animation play all the way through even after the the button is released?

~Thanks!

View Replies !    View Related
Animated Buttons, Animation Reversed.
Hello all,

I've made myself a nice animated button (the fla-files is enclosed).

There's an animation that changes the button when you put your mouse on it, and an animation that changes it back to it's original state when you move the mouse off the button.
These animations are the opposite of eachother (the first is the second played backwards).

Now, if I put my mouse on the button and remove it almost directly, the 'backwards' animation will play from it's start. I would like the backwards animation to start from the point where the mouse left the button.

In other words, I want the forward animation to play for as long as the mouse is ON the button. And when the mouse is OFF the button the animation should play backwards, from the point where the forward animation was.

Also, the button now starts (when 'Publish Preview'-ing) in the state it is when the mouse is on it, is there a way to make it start as the 'mouse off' version?

This is all kind of hard to explain, if you'd look at the fla-file, I think it will become more clear.

Thanks!

View Replies !    View Related
Buttons Animation (not A Reversable Clip)
Hello! Ok my question is: I have a button, it is a tube, and when you hover over it with the mouse bubbles come from the right and continue to move through the tube, on a loop. Then, I want it so that when you roll out of the button area the bubbles leave to the left. So I cant just have the animation repeat backwards.
I have the movie set up to play the bubbles coming from the right as a motion tween then two frames repeat to give the effect of bubbles constantly going through the tube, then on the fourth repeating frame I have a goto action to create a loop. After that I figure I can go to the next frame and create a tween to make the bubbles move to the left. all I have figured out how to do is get the bubblles to come out and loop, and on mouse out the bubbles move back to the right. so somehow I need to say "on roll out play frame 15" or something to play the left tween on a roll out.

I hope this is understandable, i beg for you help, anybody, PLEASE. This is killing me.
Thanks
Andrew Mallonee

View Replies !    View Related
Random Background Animation Using Buttons
Hi, I have a bit of a problem and I thank you now for anyones help

I need to have a animated background which will play when a user clicks a button. The background animation has 5 points (5 bits of animation) until it loops back to its original point so in short pt1, pt2, pt3, pt4, pt5 and back to pt1.
(sorry to sound patronising but I am really trying to explain it properly) . Now there are 8 navigational buttons. When a user clicks on any of the 8 buttons, in no perticular order, I need the animation to play to the next point in the background animation. So in short but_2 plays will play backgd animation to pt1, then but_8 plays bg animation to pt2 and then if you click but_5 it plays bg animation to point 3 and so forth. If the background animation is random to the buttons, that would even be better. I am soooo stumped please help and thank you for reading my elaborted problem.

View Replies !    View Related
Build Dynamic Animation In Buttons?
Hi there-

I'm trying to build some image-loading thumbnails for a portfolio site and I'm having trouble with dynamic animation. If you look here you will see what I mean. Click the "open fullscreen flash" link and then select "Work&Play".

I would like those white squares that pop up to load in order from top left to bottom right, achieving a sort of 'wave' effect as each box scales up to full size. I could build a movie clip manually, but I don't want to eat up memory with 104 layers. Does anyone know how I might program them such that I have some control over the timing?

Below is the script I'm tentatively using to load the boxes. If anyone has any ideas as to how to clean this up or how to set intervals or something to load them left to right, top to bottom, please let me know.

Thanks, everybody-
jordan

code: totalRow = 13;
for(i=1; i<=totalRow; i++){
this.attachMovie("thumb_holder_mc", "thumb"+i, this.getNextHighestDepth());
this["thumb"+i]._x = 450;
this["thumb"+i]._y = (i*22)+(i*10)-32;
}
for(i=1; i<=totalRow; i++){
this.attachMovie("thumb_holder_mc", "thumb"+i+13, this.getNextHighestDepth());
this["thumb"+i+13]._x = 482;
this["thumb"+i+13]._y = (i*22)+(i*10)-32;
}
for(i=1; i<=totalRow; i++){
this.attachMovie("thumb_holder_mc", "thumb"+i+26, this.getNextHighestDepth());
this["thumb"+i+26]._x = 514;
this["thumb"+i+26]._y = (i*22)+(i*10)-32;
}
for(i=1; i<=totalRow; i++){
this.attachMovie("thumb_holder_mc", "thumb"+i+39, this.getNextHighestDepth());
this["thumb"+i+39]._x = 546;
this["thumb"+i+39]._y = (i*22)+(i*10)-32;
}
for(i=1; i<=totalRow; i++){
this.attachMovie("thumb_holder_mc", "thumb"+i+52, this.getNextHighestDepth());
this["thumb"+i+52]._x = 578;
this["thumb"+i+52]._y = (i*22)+(i*10)-32;
}
for(i=1; i<=totalRow; i++){
this.attachMovie("thumb_holder_mc", "thumb"+i+65, this.getNextHighestDepth());
this["thumb"+i+65]._x = 610;
this["thumb"+i+65]._y = (i*22)+(i*10)-32;
}
for(i=1; i<=totalRow; i++){
this.attachMovie("thumb_holder_mc", "thumb"+i+78, this.getNextHighestDepth());
this["thumb"+i+78]._x = 642;
this["thumb"+i+78]._y = (i*22)+(i*10)-32;
}
for(i=1; i<=totalRow; i++){
this.attachMovie("thumb_holder_mc", "thumb"+i+91, this.getNextHighestDepth());
this["thumb"+i+91]._x = 674;
this["thumb"+i+91]._y = (i*22)+(i*10)-32;
}

View Replies !    View Related
Play Animation Loops W/buttons
hi everyone,I have a problem I thought i could figure out on my own, I searched and could not find anything relevant.

my problem is simple,I would like button "a" to play frames 1-12 in a loop

and button "b" will play frames 13-24 in a loop

and have it so you could switch back and forth to play loop"a' or loop"b".

I hope its a simple script thanks, even if you cant help me

View Replies !    View Related
[F8] Stop Animation, But Still Have Buttons Work?
I need to know how to stop the animation on my web page from looping, but not have the stop command affect the ability to use the buttons.

The web page:
http://www.dreamsthunder.com/hotlink/index.htm

The stop command hits after the flower-links finish blooming, but the same stop command also nullifies the ability to click on the flowers. While some of the stuff is running from movie clips, the animation on the flowers and title are in the main movie, and it would be too complicated and out of the question to make them all into movie clips... I'm hoping (and kind of assuming) there's an easier way to go about this?

Thanks much for any help~

View Replies !    View Related
How To Pause A Flash Animation Without Using Buttons
Hello
I have created a Flash animation in a single scene. now i want to pause or in better words delay the animation somewhere in between for a peticular time (say 5 secs). I dont want to move or adjust the timeline. so is there any script which i can use to delay the movie. please do help. thank you

View Replies !    View Related
Buttons Connected To Animation Sequence
I've been really racking my brain trying to figure this out.
Does anyone know of a tutorial or script that connects buttons to an animation sequence as done on http://sksantos.com. It looks like the movies and button movements are done with SetInterval, but I can't figure out how to restart the animation sequence from a button once it is press.

Any clues will be greatly appreciated.

View Replies !    View Related
Buttons Ontop Of Flash Animation
I have a flash movie(generalPlayer) that in turn loads another flash movie(converted from powerpoint) and plays it. I have this generalPlayer loading in a java JDIC browser window. Since i cant make flash automatically grab keyboard focus after the movie is loaded into the browser(one has to click once on movie for movie to get keypress events). I have decided to attempt to put a button that sits on top of the playing slide show so the user can click it to get the window to close, should they decide to close it before the show is finished.

how can i accomplish this? i add a button to the stage, and it does show up. But as soon as the slideshow gets loaded and starts to play it then covers the button. How do i get this button on top of the slideshow?

-ChazZ

View Replies !    View Related
Animation Stops When Mouseover On Buttons
Hi all,

I have a scene with floating buttons that constantly move throughout the movie. When I mouseover one button, it will animate on its own and the rest of the buttons will stop animating (stay put at where they are).

How can I acheive that?

Please help!

View Replies !    View Related
Stop Animation, But Still Have Buttons Work?
Hello all~

I'm making a main page for my website in Flash 8, and I need to know how to stop the animation on my web page from looping, but not have the stop command affect the ability to use the buttons.

The web page:
http://www.dreamsthunder.com/hotlink/index.htm

The stop command hits after the flower-links finish blooming, but the same stop command also nullifies the ability to click on the flowers. While some of the stuff is running from movie clips, the animation on the flowers and title are in the main movie, and it would be too complicated and out of the question to make them all into movie clips... I'm hoping (and kind of assuming) there's an easier way to go about this?

Thanks much for any help~

View Replies !    View Related
Question About Animation In Menu Buttons
Hello all,

I am currently designing my website and I have a question about something I can't figure out. It has to do with animation on menu buttons.

Let's say you're on the main home page of a site. You press one of the menu buttons to take you elsewhere on the site, for example, the "about us" page.

After clicking, the "about us" page loads beginning with some kind of animation or tween. After you view the animation and the page itself, you decide to go elsewhere within the site such as "contact us".

After clicking "contact us", the animation on the "about" page plays again but in reverse before the "contact us" page loads.

I was wondering how I would achieve this?

View Replies !    View Related
Animation Stops When Mouseover On Buttons
Hi all,

I have a scene with floating buttons that constantly move throughout the movie. When mouseover one button, it will animate on its own and the rest of the buttons will stop animating (stay put at where they are).

How can I acheive that?

Please help!

View Replies !    View Related
Setting The Links To Buttons With Animation?
I am a beginer at using actionscript and I have run into a snag with setting up links in my navbar.
I am practicing with a navigation style offered in the FLA section here at utrashock called "Icons." I cant figure out how to get the button to link off to its corresponding section. I am slowly starting to understand how the animation works when the button is clicked, but don't know where or how to get them to link off.

Any insight would be greatly appreciated!!
Thanx!

View Replies !    View Related
Dilema Wiht Mouse Over Buttons And Animation. Can Some One Help?
Hello,

I have a button that on rollOver it does a small animation and it reveals 4 other buttons on top of it, then on rollOut the whole thing disappears. The problem is that when I rollOver the new buttons that appear, then the movie treats it as if I rolledOut of the original button and the whole thing disappears and starts again. In other words the movie is only able to process one button at a time or something. What can I do here? Did I explain my problem correctly? Let me know if it's unclear and I'll try explaining better.

thanks in advance

View Replies !    View Related
How Do I Make Multiple Buttons In My Flash Animation?
I am new to flash, and I have no training in it whatsoever. I created a flash animation with flash CS3 for my photography website, and I want to link each of the images to different galleries on my site. When I created my first button it worked fine, but when I try to create actions to link more than one image as a button, keep getting an error that says "1021: Duplicate function definition." How do I make each image as a separate button?

I used the video of this tutorial as my guide to learn how to create a button:
http://www.adobe.com/designcenter/flash/articles/flacs3it_firstflash_pt1.html


Also, when I run the animation to test it, it loops, and I don't want it to loop. How do I stop it from looping?





























Edited: 01/23/2008 at 01:29:20 PM by AkewataruAurora

View Replies !    View Related
How Do I Make Multiple Buttons In My Flash Animation?
I am new to flash, and I have no training in it whatsoever. I created a flash animation with flash CS3 for my photography website, and I want to link each of the images to different galleries on my site. When I created my first button it worked fine, but when I try to create actions to link more than one image as a button, keep getting an error that says "1021: Duplicate function definition." How do I make each image as a separate button?

I used the video of this tutorial as my guide to learn how to create a button:
http://www.adobe.com/designcenter/flash/articles/flacs3it_firstflash_pt1.html

I used the method shown in the tutorial I mentioned to create it (created a new layer for the button, selected the area of the image for the button,used modify -> convert to symbol
-> button, I edited it so it was an invisible button by moving it to the hit frame, gave the selected area an instance name of Hizumi_btn, inserted a new layer for actions and added the code I have attached to this post.

I assumed that I would just need to repeat this procedure for each of the other images in my animation, but when I did that I received the error.

I greatly appreciate any help you can give me.

Here is the code I used to create my first button.









Attach Code

Hizumi_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://reflectionsphotographybyroxanne.com/galleries/DespairsRay_gallery_files/index.html"));
trace("I'm clicked");
}

























Edited: 01/23/2008 at 01:27:14 PM by AkewataruAurora

View Replies !    View Related
Next, Prev Frame OnRollover Animation, I Know How To Do It With Buttons But...
Ok here is the thing, I have the following code on my buttons.

ActionScript Code:
onClipEvent (enterFrame) {    if (this.hitTest(_root._xmouse, _root._ymouse, true)) {        this.nextFrame();    } else {        this.prevFrame();    }}

This makes the button animation rewind or play depending on if the mouse is over the button. I want to have this on my buttons but I also want a different movie clip on a different layer to go to the next frame or previous frame depending on the rollover. Basically, I need to know how to add something in addition to:

ActionScript Code:
this.nextFrame();ANDthis.prevFrame();

with a different movieclip in replace of "this". The movieclip is located in my main movie (_root). But when I tried:

ActionScript Code:
_root.MyMovie.prevFrame();

it didn't work. ANy suggestions on how to make it work. THANKS VERY MUCH.

MIke

View Replies !    View Related
Next, Prev Frame OnRollover Animation, I Know How To Do It With Buttons But...
Ok here is the thing, I have the following code on my buttons.

ActionScript Code:
onClipEvent (enterFrame) {    if (this.hitTest(_root._xmouse, _root._ymouse, true)) {        this.nextFrame();    } else {        this.prevFrame();    }}

This makes the button animation rewind or play depending on if the mouse is over the button. I want to have this on my buttons but I also want a different movie clip on a different layer to go to the next frame or previous frame depending on the rollover. Basically, I need to know how to add something in addition to:

ActionScript Code:
this.nextFrame();ANDthis.prevFrame();

with a different movieclip in replace of "this". The movieclip is located in my main movie (_root). But when I tried:

ActionScript Code:
_root.MyMovie.prevFrame();

it didn't work. ANy suggestions on how to make it work. THANKS VERY MUCH.

MIke

View Replies !    View Related
Music Player Tunes Slowing Down Animation When Buttons Are Hit?
Please help,

This is my first site I created using a Flash Player.

If you click on the Music Button. The Flash Player comes up and starts playing the 1st tune. The problem is it's bogging down the rest of the animation, when the other buttons are hit. I have seen Flash animation with music playingbefore and everything ran smooth. This however I 'm having problems with the transitions when the music is playing

I 'm loading the pages in an empty movie container but still the music bogs down the animation even the electric thing on the top of the page.

Here's the link:
http://altgraphicdesign.com/Figure_H8_Flash2.html


Please help!
Thanks,
Tom

View Replies !    View Related
Flash Player Tunes Bogging Down Animation On Buttons?
Please help,

This is my first site I created using a Flash Player for music.

If you click on the Music Button. The Flash Player comes up and starts playing the 1st tune. The problem is it's bogging down the rest of the animation, when the other buttons are hit. I have seen Flash animation with music playingbefore and everything ran smooth. This however I 'm having problems with the transitions when the music is playing

I 'm loading the pages in an empty movie container but still the music bogs down the animation even the electric thing on the top of the page.

Here's the link:
http://altgraphicdesign.com/Figure_H8_Flash2.html


Please help!
Thanks,
Tom

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