📄 imageshow.mxml
字号:
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" width="640" height="500" layout="absolute" creationComplete="init()" showCloseButton="true" close="closeWin()"
title="{instance.selectedImage.name} ... ... {instance.selectedImage.date}" backgroundColor="#000000">
<mx:Script>
<![CDATA[
import album.models.modelLocator;
import mx.managers.PopUpManager;
[Bindable]
public var instance:modelLocator=modelLocator.getInstance();
internal function init():void
{
//this.width=100;
//this.height=100;
this.x=stage.width/2-this.width/2;
this.y=stage.height/2-this.height/2;
}
internal function closeWin():void
{
PopUpManager.removePopUp(this);
}
]]>
</mx:Script>
<mx:Image x="10" y="10" width="100%" height="100%" source="{instance.selectedImage.image}"/>
<!--mx:Text width="100%" height="30%" text="{instance.selectedImage.details}" enabled="false"/-->
</mx:TitleWindow>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -