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=<?php print $this->contentToSet; ?>&lng=<?php print $this->languageToSet; ?>&pageShownFirstTime=<?php print $this->pageShownFirstTime; ?>&dateForCache=<?php print rand(); ?>',
'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>