close windows in flash
- Started
- Last post
- 11 Responses
- bomy_dick
hi there,
i want to close a pop up window after a click on a button in the pop up,
i can't find the right code to add after : get url ...thx a lot
- J0
Use get URL...
javascript:window.close();
I think... ?
- bomy_dick0
here is my code, doesnt seem to work
_root.getURL("/fr/magasin/menus...
JavaScript:self.close();
- J0
Did you try mine?
- bomy_dick0
yes, not working ...
same as mine
- J0
Works for me...
on (release) {
getURL("javascript:window.close...
}
- J0
Ah shit... NT jiggled the lines a bit..
Make sure :
javascript:window.close();...is all on one line like that.
- bomy_dick0
hahem..
sorry .. what where ?the first code is not good ?
thx a lot
- bomy_dick0
what i want is : after the get url (click) is done in the pop up the pop up close
- J0
Yeah - that's exactly what my code does... jees... i'm spoon feeding you here, what more do you want?!!
- J0
- bomy_dick0
thx a lot for ur time