身高百分比 +图像的静态高度
我不久前创建了一个 swf 文件,并且有一些指向曾经存在的附属机构的无意义的“损坏”链接。我想从我的游戏中删除此链接,但似乎我丢失了 .fla 文件。 =/
所以我想做的就是以 100% 显示我的主要游戏内容,这样就不会显示损坏的链接。联属网络营销商的广告为静态 100 像素。
所以基本上我想要做的是将高度设置为 100% + 100px,这样除非向下滚动,否则链接将看不到。这可能吗?
I created a swf file not long ago, and I have some meaningless 'broken' link to a once existing affiliate. I wanted to take this link off of my game, but it appears as though I lost my .fla file. =/
So what I want to do is JUST display my main game content at 100%, so the broken link is not being displayed. The ad for the affiliate is a static 100px.
So basically what I would want to do is set the height to 100% + 100px, so the link is out of view unless you scroll down. Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不确定我是否做对了。
您可以嵌入您的 swf 并设置
新 swf 所需的大小
文件。
你可以使用 html 和 css 来
隐藏您不想隐藏的内容
show.
更新:
我将尝试更清楚地解释我对第一种方法的想法。
宽度 = old_SWF_file.width;
高度 = old_SWF_file.width - Bunner.height; //-100px
`
not sure if i get it right.
you can embed your swf and set the
size which you need to a new swf
file.
you can play with html and css to
hide content which you don't want to
show.
Update:
i will try to explaine my idea about first method more clear.
width = old_SWF_file.width;
height = old_SWF_file.width - bunner.height; //-100px
`