1 tilqicom Mar 29, 2008 00:48
3 tilqicom Mar 29, 2008 01:26
John wrote:
First, why don't you put your swf inside a div and position the div with your CSS instead of the swf.
Also get rid of the embed tags and try using something like the following....
<object type="application/x-shockwave-flash" style="width:300; height:198;" data="http://www.tilqi.com/skins/evopress/snow_header.swf"><param name="movie" value="http://www.tilqi.com/skins/evopress/snow_header.swf" /></object>
testing right away, brb with the results
4 tilqicom Mar 29, 2008 01:37
<div id="flash" style="position: absolute; left: 610px;">
<object type="application/x-shockwave-flash" style="width:300; height:198;" data="http://www.tilqi.com/skins/evopress/snow_header.swf"><param name="movie" value="http://www.tilqi.com/skins/evopress/snow_header.swf" /> menu=false</object>
</div>
i ve created that one, now, it displays in IE and doesnt display in Firefox just the opposite of the 1st situation...
and btw, how to get rid of "click to activate active x content" ?
5 sam2kb Mar 29, 2008 02:52
6 tilqicom Mar 29, 2008 04:07
sam2kb wrote:
yea i ve seen it when i ve googled for browser safe swf code, but it seemed a bit complicated :P.. i ll give it a try ty
7 tilqicom Mar 29, 2008 05:07
i had it created with mx6.0... Flash cs3 removes all the differences and that annoying "click to activate" while publishing creating an AC_RunActiveContent.js file.. working great now..
in case anyone else has problem with flash browser differences i am pasting the code anyway:
<div id="flash" style="position: absolute; left: 610px;">
<title>http://www.tilqi.com/skins/evopress/snow_headercs</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="http://www.tilqi.com/skins/evopress/AC_RunActiveContent.js" language="javascript"></script>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
'width', '300',
'height', '200',
'src', 'http://www.tilqi.com/skins/evopress/snow_headercs',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'http://www.tilqi.com/skins/evopress/snow_headercs',
'bgcolor', '#ffffff',
'name', 'http://www.tilqi.com/skins/evopress/snow_headercs',
'menu', 'false',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'http://www.tilqi.com/skins/evopress/snow_headercs',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="200" id="http://www.tilqi.com/skins/evopress/snow_headercs" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://www.tilqi.com/skins/evopress/snow_headercs.swf" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="http://www.tilqi.com/skins/evopress/snow_headercs.swf" menu="false" quality="high" bgcolor="#ffffff" width="300" height="200" name="http://www.tilqi.com/skins/evopress/snow_headercs" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
==============================================
additional info..
the reason why such a warning message exists -which i found searching for a solution, and think it's interesting- (and an additional solution to the problem) can be found here:
8 sam2kb Mar 29, 2008 05:44
You can also do it this way.
<head>
<script src="path_to_script/swfobject.js" type="text/javascript"></script>
</head>
<body>
<div id="flash" style="position: absolute; left: 610px">
<script type="text/javascript">
var so = new SWFObject("http://www.tilqi.com/skins/evopress/snow_headercs.swf", "snow_headercs", "300px", "200px", "8", "#FFFFFF");
so.write("flash");
</script>
</div>
</body>
9 john Mar 29, 2008 06:20
i ve created that one, now, it displays in IE and doesnt display in Firefox just the opposite of the 1st situation...
and btw, how to get rid of "click to activate active x content" ?
The only reason the code I gave you didn't show was because I didn't assume what measure you wanted to use, px or %.
Simply add px to the style="width:300px; height:198px;"
It works fine in Firefox and IE6 without all that other stuff
Example at the bottom of this post. http://wow-factor.com/index.php/flash_plugin_test
10 tilqicom Mar 29, 2008 06:28
John wrote:
i ve created that one, now, it displays in IE and doesnt display in Firefox just the opposite of the 1st situation... and btw, how to get rid of "click to activate active x content" ?
The only reason the code I gave you didn't show was because I didn't assume what measure you wanted to use, px or %.
Simply add px to the style="width:300px; height:198px;"
It works fine in Firefox and IE6 without all that other stuff
Example at the bottom of this post. http://wow-factor.com/index.php/flash_plugin_test
yes it sure does work.. except that active X control prompt thing in IE 6
by the way, as i am not capable of creating a new skin, i am looking for a totally basic customizable skin, like the one "basic" in the skin directory, bu not that basic :).. let me know if you know one, i am searching through the b2evo skins atm..
11 john Mar 29, 2008 06:31
Well, I just used IE6 on the kids old window box and had no Active X prompt at all.
12 tilqicom Mar 29, 2008 06:34
John wrote:
Well, I just used IE6 on the kids old window box and had no Active X prompt at all.
if you had ever confirmed it the yellow bar does not show up... but a selected region rectangle covers the movie, -animations etc are played- but some actions does not take effect until you click it .. it is no big deal, but annoying anyway
13 stellamarie Oct 02, 2008 21:25
i posted a very boring skin on my blog. if you look at news, it shows the skin without my website.
you can choose to add the am rss widget into post bottom or not. both news and seattlemusic show the am rss widget in action.
First, why don't you put your swf inside a div and position the div with your CSS instead of the swf.
Also get rid of the embed tags and try using something like the following....