|
-
[Help] Opening Swf - *Another* Window
Hey everyone,
Yes this is semi game related since it has to do with my game menu and opening up games from it
I tried posting this thread in the general forum, but I havent gotten an answer yet and I need this asap , by the end of today *BLINKS*
Anyways, heres my little problem. All I want to do is open a seperate swf in a seperate window. That means _root.loadmovie(); doesnt work since it just opens the new swf and replaces the old one
This is why I need it so :
The game menu is going to be embedded on a website page and when you choose a game to play, I want it to open in a window ...
Someone a while ago suggested using the whole getURL(); method but that opens it in a new browser which I dont want
Hopefully that all makes sense and hopefully you folks can help me 
Thanks
-
I'm sure that there is a thread about that..
You need to use javascript, here is a very good tutorial about pop-ups:
http://www.actionscripts.org/tutoria...er/index.shtml
mfg Dave
-
Thanks dave, Ill start reading
-
Senior Member
 Originally Posted by Osteel
Someone a while ago suggested using the whole getURL(); method but that opens it in a new browser which I dont want
It depends on which browser you use and how it is set up.
I would still say safest way is to open it in new window using
getURL("newhtml", "_blank");
and of course have the swf embedded in newhtml page.
javascript is only better if you want to have new window without scrollbars and prevent it to be resizable in IE (which again is stupid because it can still be resized in other browsers), or you want to pass variables to new window.
-
And this is sort of off-topic but it's been something that bothers me about a lot of stuff video games, web sites and a whole load of other stuff, why do people always have to limit the functionality of stuff? If you design a site and like the way it looks in a pop-up have it in a pop-up but dont turn off the status bar and scroll bars and dont make it not resizable because a lot of people like to arrange multiple windows on the screen at the same time, and back to what TonyPa said about the cross-browser js capabilities, its to true, people spend so long trying to prevent people from doing something but theres always a way around it. This going to video games like halo 2 online for example they dont allow modding at all, I can see this being reasonable for maybe ranked games, but if your goofing around in a custom game why the hell does bungie give a ****, its actually doing them good that means more people will play it for longer because theres new stuff to try. People always trying to limit functionality is really annoying.
-
Ooh ok guys, thanks alot
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|