Advertisement

07.01.2008 at 04:31PM PDT, ID: 23532061
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Actionscript FLASH CS3 Frames, Buttons and Sounds

Asked by ranhell in ActionScript, Macromedia Flash

Tags: , ,

I'm working a FLASH CS3 Action Script and I have the following situation.
I'm building a site with different pages/movieclips, lets say "Home", "Computo", "Redes" etc...
So far I have a animated movie clip with sound and a "hit state button inside" with an OVER and OUT labels animation  and it works fine whe it first loads, then when I hit or click the button so it'll take me to the desire page it works fine too.
The problem is when I click again the same button or any other button that was already clicked once, first the sound of the animated button loops forever and the movie clip that is soposedly to show the desired page doesn't show up or do not animate again but the sound of that animation/movieclips does and loops too.

What I think I need is something like "If the btn1 was already clicked once and it is clicked again do nothing else gotoAndPlay whatever frame is suposedly to go next.
Or something helpfull for tracing the frame where I'm currently at so I can tell where to go next

Attached is the code snipet for the animated button and the code also for the disered frame I wanna go
And the zip file is the swf file itself

Hopefully is not a difficult task for any of you guru's
let me know if clearer explanation, or more iformation is needed
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
function ConOut(event:MouseEvent):void{
	conbtn.gotoAndPlay("IN");
}
conbtn.addEventListener(MouseEvent.MOUSE_OUT, ConOut);
 
function ConOver(event:MouseEvent):void{
	conbtn.gotoAndPlay("OUT");
}
conbtn.addEventListener(MouseEvent.MOUSE_OVER, ConOver);
 
stop();
function CompuClick(event:MouseEvent):void{
	gotoAndPlay("Computo");
}
compubtn.addEventListener(MouseEvent.CLICK, CompuClick);
Attachments:
 
Attached is the swf file, just rename the .zip to .swf
 
[+][-]07.04.2008 at 12:38AM PDT, ID: 21931527

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.04.2008 at 12:21PM PDT, ID: 21934494

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.03.2008 at 07:35AM PDT, ID: 22377685

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ActionScript, Macromedia Flash
Tags: ADOBE, FLASH, FLASH CS3
Sign Up Now!
Solution Provided By: ranhell
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628