0
我在flex.Here新是我的問題:如何使源路徑動態
<mx:HorizontalList id="horizontalList" height="100" columnCount="6" dataProvider="{arr}">
<mx:itemRenderer>
<mx:Component>
<mx:Image width="100" height="100" source="../../user/mahedi/weeding/album/{data}"/>
</mx:Component>
</mx:itemRenderer>
</mx:HorizontalList>
我要讓源路徑dynamic.I意味着我收集userName
和albumName
從PHP,我可以在打印柔性。但是當我這樣使用源代碼時: source="../../user/{userName}/{albumName}/album/{data}
我發現了一個錯誤。我該如何解決這個問題,請幫助我。
什麼錯誤? – 2009-07-29 18:19:10
source =「../../ user/{userName}/{albumName}/album/{data}」當我設置此路徑時,構建器給予未分割屬性userName的消息訪問權限,並且對其他任何方法都是相同的。有任何解決方案 – Mahedi 2009-07-30 02:57:27