Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pop up window

Status
Not open for further replies.

999000333

Programmer
Nov 20, 2006
39
Helllo
I have a flash web site where, when a button(from the menu) is clicked a movieclip pop up on a different window...inside this file ther's also a menu and in here I have a button that SHOULD close the pop up window..I tried different codes but nothing seam to work THE POP UP WINDOW DO NOT CLOSE.
I tried these codes posted on this forum but none of them work,

CODE
on(release){
fscommand("quit");
}

//Or...

exit_btn.onRelease = function(){
fscommand("quit");
}

on(release){
unloadMovieNum(0);
}

//Or...

exit_btn.onRelease = function(){
unloadMovieNum(0);
}


the code
on(release){
unloadMovieNum(0);
}
makes the window white but the window it self do not close..
Does anyone have some suggestions..
Thanks.
Paola
 
I have tried that too

on(release){
getURL("javascript:window.close();");
}

Or as I suggested in the other thread...

on(release){
getURL("javascript:self.close();");
}


BUT STILL do NOT work

Thanks
Paola
 
I will explain how this website works... then if you think you need more info I will send you the fla.(very complex and big).

ther's a page with 6 button each button call a page( different pages for the 6 buttons) in this way:
//for button one
on (release) {
getURL("armchairgroup.html", "_blank");
}
//for button two
on (release) {
getURL("sofagroup.html", "_blank");
}
etc...

the armchairgroup.html comes up (pop up window) and within this file ther's another set of buttons each of them call different file ex

on (release) {
getURL("brownarmchair.html");
}

NOW, it' s in this page that I create a button to close the pop up window.

Thanks for your help.
Paola
 
YES!!! YOU are absolutely right that's what it is ...unfortunatley this website isnt online yet...it will be in the next couple of days. I belive as to be up by wendsday..sorry..
Thank you for all your help.
Paola



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top