Here it is - the code to pop a new window in a single step:

For Flash 5 - put this in your button:

on (release) {

getURL ("javascript:window.open('http://www.flashkit.com','NameofWindow','width=800,height =600,top=0,left=0'); void(0);");

}

Change the URL, window size, position, etc. to your specs...


For Flash 4 - put this in your button:

On (Release)
Get URL ("javascript:window.open('http://www.flashkit.com','NameofWindow','width=800,height =600,top=0,left=0'); void(0);")
End On

Again, change the URL, window size, position, etc. to your specs...

Thanks for this script goes to Polar Lights Studios (www.polar-lights.com) who gave me the initial code to modify!


[Edited by GreatGooglyWoogly on 02-18-2001 at 09:52 PM]