Advertisement
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.
Your Input Matters 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! |
||
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();
|