我可以在Flash对象边界之外进行Flash / Flex下拉扩展吗? [英] Can I make a Flash/Flex Drop Down Extend outside the flash object boundaries?

查看:140
本文介绍了我可以在Flash对象边界之外进行Flash / Flex下拉扩展吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在Flash / flex builder中开发我们的应用程序,用于前端击中.NET后端Web服务。旧应用程序的一部分将不会被初始转换,所以我们需要它出现在iFrame中。



到目前为止,所有这些都可以正常工作。 >

我们缩小主机页面中SWF的大小,只是菜单/导航区域。而且,我有一个iframe控件,从旧站点加载到这个页面。



现在的问题。在SWF中是一个下拉列表来启用选择客户端。由于SWF已经缩小到约100px的高点,所以下拉菜单只会占据其开放的100像素区域。这不是很好,你可以想像。



所以问题是。如何使下拉列表从IFRAME控件的顶部下降,从而扩展到SWF维度之外?这是可能的吗?



我试图使内部阶段透明,离开SWF稍大一点,约高达400像素,但IFRAME仍然出现在SWF后面。 / p>

有关如何做到这一点的任何建议将不胜感激!

解决方案

Google代码具有flex-iframe组件



http://code.google.com/p/flex-iframe/



它提供了一个很好的功能,自动隐藏iframe,当弹出窗口喜欢当overlayDetection =true设置为true时,菜单将显示



source =www.google.com
width =100%
height =100%/>



如果您不想使用组件,我已经查看了代码。


We are developing our app in flash/flex builder for the front end hitting .NET backend webservices. There is one section of the old app that will not be initially converted, so we need have it appear in an iFrame.

So far all that works fine.

We shrink the size of the SWF in the host page to just be the menu/nav area. And underneat that I have an iframe control that loads in this page from the old site.

Now the problem. in the SWF is a drop down list to enable picking a client. Since the SWF has been shrunk to about 100px high, the drop-down will only occupy within that 100px area which it's opened. This is NOT good as you can imagine.

So the question is. How can I make the drop-down list descend over-top of the IFRAME control and thus extend outside the SWF dimensions? Is this possible?

I tried to make the internal stage transparent and leave the SWF a little larger, about 400 px high, but the IFRAME still appears behind the SWF.

Any suggestions on how to do this would be MUCH appreciated!

解决方案

Google code has a flex-iframe component

http://code.google.com/p/flex-iframe/

It provide a nice feature to autohide the iframe when a popups like menu are show when overlayDetection="true" is set to true

source="www.google.com" width="100%" height="100%" />

In case you dont want to use the component you I have looked into the code.

这篇关于我可以在Flash对象边界之外进行Flash / Flex下拉扩展吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆