flex4.0 利用外部项呈示器显示List信息并添加图片示例(flexform怎么读)速看

随心笔谈1年前 (2023)发布 admin
159 0

xmlns:s=”library://ns.adobe.com/flex/spark”

xmlns:mx=”library://ns.adobe.com/flex/mx”

autoDrawBackground=”true”>

[Embed(source=”images/user_superman.png”)]

private const imgsource:Class;

private function getImage(data:Object):Object

{

if(data!=null)

{

var img:Image=new Image();

img.source=imgsource;

this.addElement(img);

}

return null;

}

]]>

© 版权声明

相关文章