佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1072|回复: 9

发布flash in HTML 问题?

[复制链接]
发表于 27-9-2005 10:39 AM | 显示全部楼层 |阅读模式
我的flah是800*600的,如果IE是1024*768的话,他就会在IE的左边,如果用extra fit他又会走样(变宽),怎样才能使他在中间?
另外如果我的是1027*786但IE是800*600的话,他又会怎样呢?

[ 本帖最后由 hahabin 于 30-9-2005 02:56 AM 编辑 ]
回复

使用道具 举报


ADVERTISEMENT

发表于 27-9-2005 11:11 AM | 显示全部楼层
试下以下的code:

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td>&nbsp;</td>
    <td align="center" width="800">
        <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="800" height="600">
      <param name="movie" value="scene.swf">
      <param name="quality" value="high">
      <embed src="scene.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="600"></embed>
    </object></td>
        <td>&nbsp;</td>
  </tr>
</table>

[ 本帖最后由 邪灵 于 27-9-2005 11:31 AM 编辑 ]
回复

使用道具 举报

 楼主| 发表于 27-9-2005 11:15 AM | 显示全部楼层
请问这里的重点在那里?
回复

使用道具 举报

发表于 27-9-2005 11:45 AM | 显示全部楼层
我在html code 里加了table. 1 个 row, 3 个column.

<body>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td>&nbsp;</td>
    <td align="center" width="800">your code</td>
  <td>&nbsp;</td>
  </tr>
</table>
</body>

中间的column 我加了align="center", 它会让swf保持在中间。
回复

使用道具 举报

 楼主| 发表于 29-9-2005 11:58 AM | 显示全部楼层
我还是做不到。。。
我想要他在中间,上先左右 都有写空位的,可以用其他方法吗?
回复

使用道具 举报

发表于 29-9-2005 02:25 PM | 显示全部楼层
popup 在screen 中间可以吗?

http://www.geocities.com/flash_village/sample.zip

先开index.htm, click enter site.
回复

使用道具 举报

Follow Us
 楼主| 发表于 29-9-2005 03:55 PM | 显示全部楼层
原帖由 邪灵 于 29-9-2005 02:25 PM 发表
popup 在screen 中间可以吗?

http://www.geocities.com/flash_village/sample.zip

先开index.htm, click enter site.

我要好象这样的,可以吗?。。。。
回复

使用道具 举报

发表于 30-9-2005 04:30 PM | 显示全部楼层
以下的例子, swf 是位于html 的中间
希望能帮到你。

http://www.geocities.com/flash_village/testing.zip
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 3-10-2005 01:29 PM | 显示全部楼层
谢谢,我做到了,就你所说我是用table,3x3的,然后cellspacing等我用20%or 10%。。。
回复

使用道具 举报

发表于 29-10-2005 10:37 AM | 显示全部楼层
<body>
<div align="center">
your flash code here
</div>
</body>
</html>

after the tap <body>u put<div align="center">
then before the tap </body> u put </div>
so all ur thing will go the IE center...
sorry at company cant type chinese... hope this will help u
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 23-7-2025 06:44 AM , Processed in 0.116736 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表