0
我試圖通過http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html向dynamically.But中添加柔性漸變效果我不能添加的影響,在這裏我的代碼問題通過動態
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init();">
<mx:Script>
<![CDATA[
private var effect:String;
private function init():void {
effect="wipeOutleft";
}
]]>
</mx:Script>
<mx:WipeLeft id="wipeOutleft" duration="1000"/>
<mx:Image id="img" source="@Embed(source='assets/image002.png')" mouseDownEffect="{effect}" width="254" height="259"/>
</mx:Application>
它的工作很好,謝謝 – user1138509 2012-03-03 13:45:12