Hey all;
I am trying to accomplish a mission. I am almost where I want to be. I am developing a Compete flash site (http://www.eagle1graphics.com). I have the pop up window I want but when I click on "Contact" the pop up window opens they can see the window behind it. i.e. If the user is viewing the Prices Page and the want to contact me, They can click on Contact, the pop up window opens, but the Prices page is still visable. What I would like is for when the user clicks on contact, the pop up window opens, and nothing is behind it. Here is the AS Code that I am usin:
BUTON CODE:
stop();
function listenerFunction (Event):void{
//statements;
}
function goHome (e:MouseEvent):void{
gotoAndStop("Home");
}
home_btn.addEventListener(MouseEvent.CLICK,goHome) ;
function goAbout (e:MouseEvent):void{
gotoAndStop("About");
}
about_btn.addEventListener(MouseEvent.CLICK, goAbout);
function goPrices (e:MouseEvent):void{
gotoAndStop("Prices");
}
prices_btn.addEventListener(MouseEvent.CLICK, goPrices);
function goPortfolio (e:MouseEvent):void{
gotoAndStop("Portfolio");
}
portfolio_btn.addEventListener(MouseEvent.CLICK, goPortfolio);
function goLogo (e:MouseEvent):void{
gotoAndStop("Logo");
}
logo_btn.addEventListener(MouseEvent.CLICK, goLogo);
function goWebsite (e:MouseEvent):void{
gotoAndStop("Website");
}
website_btn.addEventListener(MouseEvent.CLICK, goWebsite);
function goVideo (e:MouseEvent):void{
gotoAndStop("Video");
}
video_btn.addEventListener(MouseEvent.CLICK, goVideo);
function goLinks (e:MouseEvent):void{
gotoAndStop("Links");
}
links_btn.addEventListener(MouseEvent.CLICK, goLinks);
CONTACT BUTTON Code:
contact_btn.addEventListener(MouseEvent.CLICK,go);
function go(evt:MouseEvent):void
{
var jscommand:String = "window.open('http://www.eagle1graphics.com/Contact.html','win','height=800,width=600,toolbar= no,scrollbars=no');"; var url:URLRequest = new URLRequest("javascript
:" + jscommand + " void(0);"); navigateToURL(url, "_self");
}
Please Help.
warvet03
