Advertisement

06.02.2008 at 09:38AM PDT, ID: 23450429
[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!

9.8

Flash Buttons 'Select' state - White boxes appear

Asked by henryvilliers in Macromedia Flash, Internet Explorer Web Browser

Tags: , , , ,

Hello Experts,

I have created a flash navigation that feeds content into an html iframe:

http://www.getattention.co.uk

The flash buttons have a 'highlight' state code attached to them which is great.... However, when viewing in IE6 on a PC, these buttons are easily broken after a few clicks. Big White boxes appear behind the buttons and the 'breadcrumb' bar at the bottom of the movie.

Any ideas as to whay this might be happening would be much appreciated.

Actioncript for the page below.

Many thanks

HenryStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
//Create configuration for actions of buttons
var links:Array = [{btn:btn_what,tx:0,ty:0,url:"what.html",frame:"what"},
                                   {btn:btn_examples,tx:1548,ty:0,url:"examples_orange.html",frame:"examples"},
                                   {btn:btn_company,tx:-2010,ty:0,url:"company.html",frame:"company"},
                                   {btn:btn_breaking,tx:-5000,ty:0,url:"breaking.html",frame:"breaking"},
                                   {btn:btn_contact,tx:-3835,ty:0,url:"contact.html",frame:"contact"}                      
                                   ];
 
//Applay actions to all buttons
for(var i = 0; i < links.length ; i++){
        trace(links[i].btn);
        links[i].btn.stop();//stops btn in initial frame
        links[i].btn.onRelease = function(){
                //sets each button to execute its action when released
                _root.selectLink(this);
        }
        links[i].btn.onPress = function(){
                //shows _down state
                if(!this.pressed){
                        this.gotoAndStop("down");
                }
        }
        links[i].btn.onRollOver = function(){
                //shows _over state
                if(!this.pressed){
                        this.gotoAndStop("over");
                }
        }
        links[i].btn.onRollOut= links[i].btn.onDragOut = function(){
                //shows _up state
                if(!this.pressed){
                        this.gotoAndStop("up");
                }
        }
}
 
//When a button is clicked it calls selectLink function.
//This function unselects other links and hilite selected link
//it also executes the action of the button accordingly to its config
function selectLink(btn){
        for(var i = 0; i < links.length ; i++){
                if(links[i].btn == btn){
                        trace("selected:"+links[i].btn);
                        btn.pressed = true;
                                                //here we set the alternate "over" state
                        btn.gotoAndStop("selected");
                        _root.targetx = links[i].tx;
                        _root.targety = links[i].ty;
                        _root.sentence.gotoAndStop(links[i].frame);
                        getURL("javascript:loadintoIframe('main', '"+links[i].url+"');void(0)");
                }else if(links[i].btn != btn){
                        //trace("unselected:"+links[i].btn);
                        links[i].btn.gotoAndStop("up");
                        links[i].btn.pressed = false;
                }
        }
}
 
//Calls the first page and selects itself simulating a release event
btn_what.onRelease();
Related Solutions: Flash Buttons 'Select' state
[+][-]06.02.2008 at 08:41PM PDT, ID: 21697424

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 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 01:43AM PDT, ID: 21698460

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 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 05:59AM PDT, ID: 21699864

View this solution now by starting your 14-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: Macromedia Flash, Internet Explorer Web Browser
Tags: Flash, Browser Compliance, IE6, PC, Highlight state
Sign Up Now!
Solution Provided By: julianopolito
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_Related_20080208