# Why Apache doesnt launch my flash animation?

**URL:** <https://forum.kirupa.com/t/why-apache-doesnt-launch-my-flash-animation/298451>\
**Category:** Uncategorized\
**Created:** [October 19, 2009, 12:36pm UTC](https://forum.kirupa.com/t/why-apache-doesnt-launch-my-flash-animation/298451 "2009-10-19T12:36:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![naurispunk](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@naurispunk](https://forum.kirupa.com/u/naurispunk)\
**Post date:** [October 19, 2009, 12:36pm UTC](https://forum.kirupa.com/t/why-apache-doesnt-launch-my-flash-animation/298451/1 "2009-10-19T12:36:36Z")

</div>

Instead of animation it just shows black rectangle. Plus, the color of that rectangle can changes if i change [COLOR=“Lime”]bgcolor [/COLOR]parameter so [COLOR=“Red”]AC\_FL\_RunContent [/COLOR]kinda works.  
And animation is working just fine - if i open just file in browser it works just fine.

This is the code i use in index.phtml to launch animation:

\<script language=“javascript”\>

```
if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
} else {
    [COLOR="red"]AC_FL_RunContent[/COLOR](
        'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
        'width', '670',//flash izmers - 1280 px (1309)
        'height', '470',//flash izmers - 960 px (961)
        'src', 'MainContainer?content=&lt;?php print $this-&gt;contentToSet; ?&gt;&lng=&lt;?php print $this-&gt;languageToSet; ?&gt;&pageShownFirstTime=&lt;?php print $this-&gt;pageShownFirstTime; ?&gt;&dateForCache=&lt;?php print rand(); ?&gt;',
        'quality', 'high',
        'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
        'align', 'middle',
        'play', 'true',
        'loop', 'true',
        'scale', 'noScale',
        'wmode', 'window',
        'devicefont', 'false',
        'id', 'MainContainer',
        '[COLOR="lime"]bgcolor[/COLOR]', '#000000',
        'name', 'MainContainer',
		'lng', 'EN',
		'contentLoad', 'fashionModelStudio',
        'menu', 'true',
        'allowFullScreen', 'true',
        'allowScriptAccess','sameDomain',
        'movie', 'MainContainer',
        'salign', ''
        ); //end AC code
}

```

\</script\>
