Keeppunchinjoe
05-27-2005, 02:51 AM
sorry in advance, i know there are a million pop up questions in here- but i couldn't seem to figure out this simple prob.
i consider myself to have intermediate to advanced knowledge of actionscript, but i've managed to stear clear of interacting with javascript. anyway, i received the following instructions from a client:
--
Flash should never use this method to open a pop-up window:
getURL(“javascript:window.open(‘URL’,‘NAME’,‘Attri butes’)
getURL(“javascript:win=window.open(‘URL’,‘NAME’,‘A ttributes’)
When opening a pop up window within Flash it should be routed through a JavaScript function call:
*HTML PAGE*
<script language = “JavaScript” type= “text/javascript”>
function OpenWin(url,name,attributes){
win = window.open(url,name,attributes);
}
</script>
The Flash action scripting should call the JavaScript function passing the needed variables.
--
my question is, how do i do that? i want to open a window without showing any attributes and a size of 700(w) x 420(h).
i consider myself to have intermediate to advanced knowledge of actionscript, but i've managed to stear clear of interacting with javascript. anyway, i received the following instructions from a client:
--
Flash should never use this method to open a pop-up window:
getURL(“javascript:window.open(‘URL’,‘NAME’,‘Attri butes’)
getURL(“javascript:win=window.open(‘URL’,‘NAME’,‘A ttributes’)
When opening a pop up window within Flash it should be routed through a JavaScript function call:
*HTML PAGE*
<script language = “JavaScript” type= “text/javascript”>
function OpenWin(url,name,attributes){
win = window.open(url,name,attributes);
}
</script>
The Flash action scripting should call the JavaScript function passing the needed variables.
--
my question is, how do i do that? i want to open a window without showing any attributes and a size of 700(w) x 420(h).