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 http://www.fusionlink.com -------------------------------------------------------------
