`
hanyiduo
  • 浏览: 77563 次
  • 性别: Icon_minigender_1
  • 来自: 沈阳
社区版块
存档分类
最新评论

给panel的staus文本加上链接

    博客分类:
  • Flex
XML 
阅读更多
<?xml version="1.0" encoding="utf-8"?> 
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
        layout="vertical" 
        verticalAlign="middle" 
        backgroundColor="white" 
        creationComplete="init();"> 
  
    <mx:Script> 
        <![CDATA[ 
            import mx.core.IUITextField; 
            import mx.controls.Alert; 
  
            private function init():void { 
                var tf:IUITextField = panel.mx_internal::getStatusTextField(); 
                tf.selectable = true; 
                tf.addEventListener(TextEvent.LINK, textField_link); 
                tf.htmlText = "status with <a href='event:showAlert'><u>link</u></a>"; 
  
            } 
  
            private function textField_link(evt:TextEvent):void { 
                Alert.show("Success! A Panel container with a link in the status text.", evt.text); 
            } 
        ]]> 
    </mx:Script> 
  
    <mx:Panel id="panel" 
            title="Title" 
            status="status with link" 
            width="320" 
            height="240"> 
        <mx:Text text="Click the link in the Panel container's status bar to launch an Alert control." 
                width="100%" selectable="false" /> 
        <mx:ControlBar> 
            <mx:Text htmlText="&lt;b&gt;Note:&lt;/b&gt; The status text field must have it's selectable property set to true in order to dispatch the link event." 
                    width="100%" selectable="false" /> 
        </mx:ControlBar> 
    </mx:Panel> 
  
</mx:Application>

分享到:
评论

相关推荐

    staus0.pcap

    LTE上网数据包,从隧道建立到更新以及删除,中间的各种动作,通信行业的小伙伴需要的可以下载看看,

    Aqua Data Studio 12.0.14破解

    覆盖安装目录 永久评估14天 版本为12.0.14

    在s = 13 TeV的质子-质子碰撞数据的36.1 fb-1中在ATLAS检测器中搜索重荷的长寿命粒子

    通过参考几种在超对称模型中产生长寿命粒子的有代表性的物理情况(例如胶粘剂/夸克(R) -强子),charginos和staus。 没有发现与预期的标准模型背景有明显差异。 长寿命R型强子的生产截面以及直接成对产生的staus...

    docker安装工具.zip

    里边有docker quick start 和VirtualBox-6.1.12-139181-Win.exe 适合win10 亲测有校,先安装 docker quick start 再安装virtualbox

    大型强子对撞机可能通过重的希格斯玻色子衰变发现潜在的成因

    因此,实验特征包括一个由tau-轻子对组成的最终状态,再加上大的缺失横向能。 我们通过大量的希格斯玻色子衰变利用了较大的staupair生产横截面,其比staus的常规电弱生产横截面大一到两个数量级。 一组基本的切割使...

    mysql中status状态说明

    目录 MySQL配置文件my.ini或my.cnf的位置 show status 与show variables 区别  1、show status  2、show variables 根据status状态对Mysql数据库进行优化: 1、连接数  1.1 show variables like ‘max_...

    EPSON Status Monitor 3 /EPSON Printer Setting Disk for LQ-610KII

    EPSON Status Monitor 3 /EPSON Printer Setting Disk for LQ-610KII/LQ-615KII EPSON 状态监视器 3 /EPSON Printer Setting Disk for LQ-610KII/LQ-615KII ...

    unity5.6版本回合制战斗DEMO

    public HeroStatus m_staus = HeroStatus.exit; //身体碰撞盒 public BoxCollider m_bodyBC = null; public string m_name = ""; public AttackCrash m_attackCrash = null; public byte m_posIndex = 0; ...

    MSSM中stau-neutralino共an灭中的真空稳定性

    Stau-neutralino共an灭提供了一种在最小超对称标准模型(MSSM)中容纳观测到的宇宙学暗物质(DM... 受此观察结果的启发,我们检查了参数空间中staus质量的上限,其中有大量的staus混合。 我们发现stau对可能占主导地位

    使用ATLAS探测器在s = 13 TeV pp碰撞中具有两个强子τ轻子的事件中搜索直接的stau产生

    提出了在具有两个强子衰变的τ轻子的最终状态下直接生成τ轻子(staus)超对称伴侣的搜索。 该分析使用了pp碰撞数据集,该数据与139 fb-1的综合光度相对应,该数据是使用ATLAS探测器在大型强子对撞机上以13 TeV的...

    异国BSM搜索的简化模型

    作为一种物理应用,我们研究了含有长寿命staus的CMSSM stau共strip灭带,这为锂问题提供了一种潜在的解决方案。 同时应用MET和HSCP约束条件,我们表明,对于tanβ较低的值,所有参数空间区域都违反了Dark Matter...

    用ATLAS探测器在s = 13TeV pp碰撞中用tau轻子搜索最终状态下的charginos和中性蛋白直接产生

    在成对生产和简化生产模型的情景中得出极限,其中中性和单性仅通过中间的左手staus和tau中微子衰减,而ÏL状态的质量设置为质量之间的一半 和的。 在直接生产无质量数的情况下,在95%的置信水平下,不包括630 GeV...

    LSM:MSSM希格斯玻色子搜索:运行2及更高版本的基准方案

    我们定义了一个情景,其中所有SUSY粒子都相对较重,并且定义了两种情景,它们具有浅无色的SUSY粒子(charginos,neutralinos,在某些情况下还包括staus)。 另外,我们提出了两种情况下的特征,即没有去耦的对齐,...

    my_fastapi

    状态码201 成功创建资源...app --port 8000 --host 0.0.0.0 --reload Centos系统的端口开启systemctl stop firewalld.service 关闭防火墙systemctl start firewalld.service 开启防火墙systemctl staus firewalld.serv

    Python ATM功能实现代码实例

    编写ATM程序实现下述功能,数据来源于文件db.txt ... ... ... ...登录功能 ...用户登录成功后,内存中记录下该状态,上述功能以当前登录状态为准,...user_staus = {'username': None} def ad_credit(username, amount): """ 充值

    Hindi Status-crx插件

    Hinsi staus,印地语shayari为您服务,因此在此网站上,您无疑会为您找到印地语中图像的最佳状态。 印地语状态今天我要与大家分享印地文shayari。大多数印度人都喜欢在印地语中使用状态作为whatsapp。因为印度的母语...

    c俄罗斯方块 代码

    int Act,Staus; int i,j,k; int Wid=10; int NoPass=CAN; float Delays=15000; int BeginH=250,BeginS=7; float Seconds=0; int Scores=0; int flag=1; int Sounds=CAN; int PreAct,NextAct; int a[8][4][4][4]={{{1...

Global site tag (gtag.js) - Google Analytics