2010-08-24 43 views
0

您好我想与宽度加载柔性模块= “100%” HEIGHT = “100%”,但它并不适用问题与柔性模块全屏

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*" width="100%" height="100%"> 
    <mx:Panel width="100%" height="100%"> 

<mx:ModuleLoader url="TestModule.swf" > 

</mx:ModuleLoader> 

</mx:Panel> 
</mx:Application> 
<?xml version="1.0" encoding="utf-8"?> 
<mx:Module 
    xmlns:mx="http://www.adobe.com/2006/mxml" 
    layout="absolute" 
    percentWidth="100" percentHeight="100"> 
    <mx:ColumnChart id="columnchart1"> 
    <mx:series> 
     <mx:ColumnSeries displayName="Series 1" yField="" dataProvider="{ [1, 2, 5, 8, 3] }" /> 
    </mx:series> 
</mx:ColumnChart>`</mx:Module>` 

回答

0

试试这个:

<mx:ModuleLoader url="TestModule.swf" width="100%" height="100%"> 
+0

offcourse我正在尝试这个,但这个窗台不起作用 – kosnkov 2010-08-24 19:56:59

+0

好吧,它应该工作,对不起。 – Francisc 2010-08-24 20:11:09

0

我会用类似VBOX或组的100%100%包围模式,然后对我来说工作的很好。