# Need help with AC\_FL\_RunContent() function to enable fullscreen

**URL:** <https://forum.kirupa.com/t/need-help-with-ac-fl-runcontent-function-to-enable-fullscreen/259811>\
**Category:** flash\
**Created:** [May 8, 2008, 9:44pm UTC](https://forum.kirupa.com/t/need-help-with-ac-fl-runcontent-function-to-enable-fullscreen/259811 "2008-05-08T21:44:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![da\_desina](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@da\_desina](https://forum.kirupa.com/u/da_desina)\
**Post date:** [May 8, 2008, 9:44pm UTC](https://forum.kirupa.com/t/need-help-with-ac-fl-runcontent-function-to-enable-fullscreen/259811/1 "2008-05-08T21:44:46Z")

</div>

Hi everyone,

You got a great forum.  
Any help will be greatly appreciated. I am kind of under pressure because I need to complete this flash player for a client as soon as possible.

I created a custom skin in CS3 and connected a playback component with captions on a stage. I published the flash and the html. **However, the fullscreen button on my flashplayer does not work, I don’t wont to use the generic created html from flash cs3** , and **I do not know how to integrate the AC\_FL\_RunContent()** function to enable fullscreen mode into my pre-existing html page and javascript function.

The problem is that I build a flashplayer that will basically have a simple playlist (in its infancy stage right now) and I am calling the swf files through a setFlash(xxx.swf) function.  
Javascript Code:

```auto
function setFlash( loc )
{
   var so = new SWFObject(loc, "pullContent", "425", "350", "8", "#ffffff");
   so.addParam("wmode", "transparent");
   so.write("player");
}

```

Flash CS3 generated Javascript Code:

```auto
AC_FL_RunContent( 
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width','455',
'height','382',
'id','Russian_Captions','
align','middle',
'src','Russian_Captions',
'quality','high',
'wmode','transparent',
'bgcolor','#ffffff',
'name','Russian_Captions',
'allowscriptaccess','sameDomain',
'allowfullscreen','true',
'pluginspage','http://www.macromedia.com/go/getflashplayer',
'movie','Russian_Captions' ); //end AC code

```

Thank you in advance.

Nath
