A work around for this issue is to use absolute, or relative positioning on your containers (div) in conjunction with z-index. For an example see here: http://dp07prsa.d-p.com - this site is not yet live, but you can at least get and idea.
The main html page lies beneath the Flash object, and the html menu that exposes the flash lies above. There is a lot more going on here (there's an iframe that comes into play as well) but you can at least see a method for working around this issue. I'm hoping to set up a blog soon, and give an example with code. On Fri, Feb 29, 2008 at 2:53 PM, Joseph Kevin Breuer <[EMAIL PROTECTED]> wrote: > Often times you need to embed your swf inside of an html page and still > interact with html within the page. In these cases you add the attribute > wmode='opaque' or wmode='transparent' to your object and embed tags for your > swf. This allows the html to be layered over the swf. For instance if you > wanted to popup a div over your swf you would need to do this. > > One unpleasant side effect of using the wmode attribute is that in Firefox > the components in your flash application seem to lose the ability to gain > focus when you mouse over them. Specifically if you have a list or datagrid > with a scroll bar, normally you can mouse over the component and mouse wheel > up or down to scroll. In FF this is no longer possible. The scrolling > works fine in IE however. > > If you are not familiar with this problem then you can recreate it by making > a new Flex project in FB. Create a new application > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > creationComplete="init()"> > > <mx:Script> > <![CDATA[ > import mx.collections.ArrayCollection; > > [Bindable] public var myData:ArrayCollection = new > ArrayCollection(); > > public function init():void > { > for(var i:int=0;i<300;i++) > { > myData.addItem(i); > } > } > > ]]> > </mx:Script> > > <mx:List dataProvider="{myData}" wordWrap="false" width="100" /> > > </mx:Application> > > Then edit the index.template.html to add the "wmode", "transparent", > attribute to each of the calls to AC_FL_RunContent. > > Any ideas? > > Thanks, > Joseph Breuer > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in the > subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink > ------------------------------------------------------------- -- Darin Kohles RIA Application Developer ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
