filete
April 1, 2003, 12:22am
1
Hi there
The problem is that i can´t find a way to put the size of a new window
on the synthax.
This way it always open at full size…
this is the syntax im using:
on(release){
getURL (“http://wwww.filete.0catch.com/hitsingle.mp3","_blank ”);
}
Can you help me with this?
thanks.
system
April 1, 2003, 12:35am
2
If I’m correct… You have to ue javascript in the getURL line to do this… I forget the actual schematics off the top of my head…
If anyone sees this and remembers the JavaScript to open a window at a set size… Please mark it down… I’ll look it up in the meantime.
playamarz :player:
system
April 1, 2003, 1:25am
3
Place this javascript into the < head > section of the HTML page that your swf movie is embeded in:
<script language="JavaScript">
function openWin(url, w, h)
{
var winprop = "width=" + w + ",height=" + h;
openwin = window.open(url,'',winprop);
}
</script>
Then use this getURL actionscript:[AS]on (release) {
getURL(“JavaScript:openWin(‘abstract1.html’, ‘500’, ‘300’)”);
}[/AS]
You can specify the width and height of the popup window as well. =)
system
April 1, 2003, 1:26am
4
There it is… I just found it as well EG… Bastard got to it before me… Oh well…
Jolly good job mate :beam:
playamarz :player:
system
April 1, 2003, 1:33am
5
By the way, filete, please don’t post multiple posts, it confuses people who are trying to help…
system
April 1, 2003, 2:22am
6
Thanks for the help…
But if i dont use HTML page, just the SWF movie itself ?
How do i do it?
thanks again
www.filete.net
system
April 1, 2003, 2:39am
7
I guess I don’t understand your question … you allready have the syntax for calling out the popUp without mod’ing your HTML…
>>>here is MacroMedias tutorial on the whole deal<<<
Chars
system
April 1, 2003, 2:45am
8
*Originally posted by filete *
But if i dont use HTML page, just the SWF movie itself ?
How do i do it?
You can do it with this tutorial, it will let you specify the size of the popup window as well.
system
April 1, 2003, 3:30am
9
Hey guys!
Just got a flash extension at Macromedia that will solve all
that ****ing problems when you want to make pop-up windows!
I will just leave here the url from the guys who design it.
Go there, install
and enjoy…
http://home.swfla.rr.com/centerpopup/
See you,
www.filete.net