2010-08-24 54 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%包圍模式,然後對我來說工作的很好。