# Implementing some code

**URL:** <https://forum.kirupa.com/t/implementing-some-code/285464>\
**Category:** Uncategorized\
**Created:** [April 1, 2009, 6:27am UTC](https://forum.kirupa.com/t/implementing-some-code/285464 "2009-04-01T06:27:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [April 1, 2009, 6:27am UTC](https://forum.kirupa.com/t/implementing-some-code/285464/1 "2009-04-01T06:27:06Z")

</div>

I’m trying to get my flv player to play flv movies full screen without making the swf full screen. I found this code that seems to do what I want it to, but I’m having trouble getting it to work. When I press the button, instead of the flv it just brings up a blank url.

this is on the mc button:

on (press) {  
getURL(“javascript:openWin(PLAYER);void(0);”);  
}

this is in the html:

\<script type=“text/javascript”\>  
function openWin(url)  
{  
var newwin = window.open(url,‘fullflash’,‘width=’+screen.width+’,height=’+screen.height+’,top=0,left0’);  
if(newwin) newwin.focus();  
}  
\</script\>
