开发者

How to interact with Content behind Transparent Flex App?

开发者 https://www.devze.com 2022-12-21 10:13 出处:网络
I have a Flex application with wmode=transparent and a transparent section that allows whatever is underneath it on the HTML page 开发者_如何学JAVAto show through.In this case, what\'s showing through

I have a Flex application with wmode=transparent and a transparent section that allows whatever is underneath it on the HTML page 开发者_如何学JAVAto show through. In this case, what's showing through is another Flash application. This works fine, but I can't interact with the Flash application showing through.

I tried setting the z-index of the Flash app to something greater than my Flex app, and that worked, but unfortunately that solution doesn't work for my case because the Flex application has components that occasionally overlay in that area, and setting the z-index of the Flash app to be higher means those components are always stuck behind it. Also unfortunately I don't control the loading of that Flash app, so I can't load/embed it into my app to get around this problem.

Are there any other ways to do this?

Cheers,

Karthik


It sounds like you want the flash app and flex app to share the same space, and overlap, but you want to be able to interact with either one. Unfortunately, this can't be done. They'll take up that space, and you wont be able to interact with anything below them (whether they're visible or not).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号