?
Solved

Flash 8 menu buttons help, please!

Posted on 2008-06-17
13
Medium Priority
?
158 Views
Last Modified: 2011-10-19
Quite simply, I'd like the menu buttons to fade from grey to blue when you mouse-over them, and I can't figure out how to do it!

A bonus would be the buttons links to each of the sample pages.

My FLA file it attached. Many thanks.
0
Comment
Question by:callmecheez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 13

Expert Comment

by:crooksy88
ID: 21807053
No file is attached?
0
 
LVL 3

Author Comment

by:callmecheez
ID: 21807129
Sorry I wasn't able to because of the .fla extension.

Have attached it again but with .txt so you'll need to rename the file back to .fla.
cdp2b.txt
0
 
LVL 13

Expert Comment

by:crooksy88
ID: 21807180
So it's a fade from grey to blue as you rollover, then fade back to grey on rollout that you are after?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Author Comment

by:callmecheez
ID: 21807199
Yeah that's the one!
0
 
LVL 13

Expert Comment

by:crooksy88
ID: 21807247
I haven't got a clue how to do that...

Only joking, give me 10 mins.
0
 
LVL 3

Author Comment

by:callmecheez
ID: 21807260
Many thanks, been trying to teach myself with a dvd but ended up wanting to throw computer out the window!
0
 
LVL 13

Accepted Solution

by:
crooksy88 earned 2000 total points
ID: 21807347
See if this is what you're after.

MC
cdp2c.txt
0
 
LVL 3

Author Comment

by:callmecheez
ID: 21807452
crooksy88 - That's great, exactly what I was after. Top marks!

Any chance you could give me a very brief explanation of what you did? That'd be much appreciated.
0
 
LVL 13

Expert Comment

by:crooksy88
ID: 21807548
Sure,

On frame 1 you will see this code for each button (with the numbers changed)

_root.button1_mc.onEnterFrame = function() {
if (mouse_over_button1_mc) {
_root.button1_mc.nextFrame();
} else {
_root.button1_mc.prevFrame();
}
};

translated this says on every frame that is played, if the mouse over of button 1 is true (mouse_over_button1_mc), play the next frame of button1_mc.

If you select button 1 on the timeline you will see that on rollover, the state of mouse_over_button1_mc is set to true, and on rollout it is set to false, and if it is not true (else) the button is told to play the previous frame.

Does that make sense?
0
 
LVL 3

Author Comment

by:callmecheez
ID: 21807618
That makes sense, yeah. Many thanks! ps do you do freelance? :)
0
 
LVL 3

Author Closing Comment

by:callmecheez
ID: 31468112
Many thanks, much appreciated.
0
 
LVL 13

Expert Comment

by:crooksy88
ID: 21807783
That's my middle name!
0
 
LVL 3

Author Comment

by:callmecheez
ID: 21807802
drop me an email plz: cdearnley@gmail.com
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses
Course of the Month8 days, 2 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question