在何使winform中的flash控件(Shockwave Flash Object)的背景透明?

cwbboy 2005-09-21 05:58:29
该flash文件在网页中可实现透明,
 
 但在winform中始终无法透明,背景一直为白色。 设置了窗口模式(WMode)为Transparent 也不行。 

  背景色默认为-1 
...全文
1292 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
alan001 2006-01-07
  • 打赏
  • 举报
回复
学习
蒋晟 2006-01-07
  • 打赏
  • 举报
回复
VC中的MFC6.0不支持,但是从7.0开始支持透明的flash控件……
emilsong 2006-01-07
  • 打赏
  • 举报
回复
设置TransparencyKey为白色(你FLASH背景的颜色)
目前只发现这种方法可以。

顺便问个问题,FLASH控件没有响应鼠标的事件如何给它加上呢?
s5689412 2005-12-22
  • 打赏
  • 举报
回复
Currently I'm working on a project using C# and with a Flash front end. The transparency issue i have overcame and what is needed is in visual studio on the form transparency key which is near the bottom of the properties - need to set that as a color such as green and when the color is shown print screen then open up photo shop paste the image get the correct color of the green and set that color as the background in the flash movie. Also in visual studio set the form mode so it does not have title bar close or minimize box. Right now my app sends fs commands to c# to minimize close, and operations that c# needs to perform and all the interface is flash based and resizable. The flash uses xml for some of the interface related information and c# will do the brunt of the work of the app. The app now has a pretty cool look and feel and i have seen nothing yet like it. So far when the program runs it will have a transparent look for the alpha per pixel of 0% or 100% although not semi transparent say 50% which i would love to find an answer to that. In visual studio on the form if you set the transparency of the form to other than fully opaque it will mess up the look of the flash and display the color green semi transparent. As well on the photoshop side you want to make sure that the .png's used on the edges of the graphics are either fully opaque other wise it will display a green edge around the app when ran.

I'm not a pro on c#, but if anyone found this useful or even not i would greatly appreciate any information on sending data from c# to flash.

Hamish

from:http://weblogs.macromedia.com/mesh/archives/2003/05/integrating_fla_1.cfm
Aallonlin 2005-12-22
  • 打赏
  • 举报
回复
UP
coley 2005-12-21
  • 打赏
  • 举报
回复
顶,我也要弄明白
asakao 2005-11-21
  • 打赏
  • 举报
回复
帮着顶一下,我也很想知道答案!

111,098

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧