Jump to content

флеш


dostel1
 Share

Recommended Posts

делаю как на http://www.xiper.net/collect/html-and-css-tricks/rabota-s-flash/vstavka-flash-v-html.html

<html>
<head>

<script type="text/javascript" src="3.js"></script>
<script type="text/javascript">
if (swfobject.hasFlashPlayerVersion("6.0.0")) {
var fn = function() {
var att = { data:"http://gameleads.ru/promo/3/074/3074/ZD_Goliy_468x60.swf", width:"200", height:"300" };
var par = {
menu:"true",
quality:"high",
wmode:"opaque"
};
var id = "flashrol";
var myObject = swfobject.createSWF(att, par, id);
};
swfobject.addDomLoadEvent(fn);
}

</script>
<style type="text/css">
#flashrol{
background: red;
width:100%;
height:300px;


}
</style>
</head>
<body>
<div id="flashrol">
</div>


</body>
</html>

Int пасиб работает на ура!!

а как позиционировать флеш бнутри блока ради интереса??

хотя может быть проще позиционировать блок з флешом!!

Edited by dostel1
Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy