![]() |
|
||||||||||
|
|||||||
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | Опции просмотра |
|
![]() |
![]() |
|
|
|
|||||
|
Регистрация: Aug 2009
Сообщений: 5
|
История такова: допустим index.html, содержащий всего 2 элемента, оба swf.
1. menu.swf -слева 2. flashgallery.swf -посередине Когда окно браузера развёрнуто на весь экран - все просто чудесно, но при изменении пропорций окна flashgallery.swf начинает подстраиваться под него (уменьшается в %), менят местоположение, причём, menu.swf независимо от размеров всегда располагается в задонной области и не меняет пропорций, а то что выходит за пределы окна браузера просто обрезается. Нужно сделать так, что бы flashgallery.swf вело себя точно так же, а не "ресайзилось" и перемещалось. ниже часть кода страницы <body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
// embed the flash movie
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0',
'width', '80%',
'height', '100%',
'src', 'flashgallery',
'quality', 'high',
'pluginspage', 'http://www.adobe.com/go/getflashplayer',
'align', 'right',
'play', 'true',
'loop', 'true',
'scale', 'noboarder',
'wmode', 'transperent',
'devicefont', 'false',
'id', 'flashgallery',
'bgcolor', '#ffffff',
'name', 'flashgallery',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'flashgallery',
'salign', 'l'
); //end AC code
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be placed here.'
+ 'This content requires the Adobe Flash Player.'
+ '<a href="http://www.adobe.com/go/getflashplayer/">Get Flash</a>';
document.write(alternateContent); // insert non-flash content
}
// -->
</script>
<noscript>
// Provide alternate content for browsers that do not support scripting
// or for those that have scripting disabled.
Alternate HTML content should be placed here. This content requires the Adobe Flash Player.
<a href="http://www.adobe.com/go/getflashplayer/">Get Flash</a>
</noscript>
<div id="Menu12" style="position:absolute; top:100px; padding-left:10px; z-index:0;">
You need to upgrade your Flash Player.</br>
<a href="http://www.adobe.com/go/getflashplayer">Get Flash Player</a>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("menu.swf", "menu", "170", "490", "8", "#ffffff");
so.addVariable("prefix", "");
so.addParam("wmode", "window");
so.addParam("scale", "noscale");
so.addParam("salign", "TL");
so.write("Menu12");
// ]]>
</script>
</body>
|
|
|||||
|
Регистрация: Mar 2009
Адрес: 173,0
Сообщений: 376
|
|
|
|||||
|
Регистрация: Aug 2009
Сообщений: 5
|
[quote=Алиль;850221]
У меня там косяк выходит при комиляции+_О)"
1119: Access of possibly undefined property scaleMode through a reference with static type Class. А можно это как-то сделать не вторгаясь в AS, посредствам http? ![]() |
|
|||||
|
Регистрация: Sep 2009
Сообщений: 90
|
а можно как-то не вводить размеры в
? в том случае, если они допустим будут часто меняться
|
|
|||||
|
Регистрация: Sep 2009
Сообщений: 3
|
Ну не без вариантов жэ! Срочно нужно как то решить вопрос+_+ Help please, flashers!
|
|
|||||
|
Регистрация: Sep 2005
Сообщений: 85
|
у меня тоже стало такое выскакивать:
1119: Access of possibly undefined property scaleMode through a reference with static type Class. пишу в классе:
__________________
www.MegaLuckyPlay.com |
![]() |
![]() |
Часовой пояс GMT +4, время: 23:51. |
|
|
« Предыдущая тема | Следующая тема » |
|
|