易截截图软件、单文件、免安装、纯绿色、仅160KB

Flex 右键菜单

MXML:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" fontSize="20" initialize="doinit()"   mouseOver="getMouseTarget(event)">
 <mx:ArrayCollection id="dgArray">
  <mx:Object pid="1" name="秦始皇" time="秦" />
  <mx:Object pid="2" name="汉高祖" time="汉" />
  <mx:Object pid="3" name="唐太宗" time="唐" />
 </mx:ArrayCollection>
 <mx:Style>
  .myTitle{
   fontSize: 12;
   fontWeight: bolt;
   fontFamily: 黑体;
  }
 </mx:Style>
    <mx:Script>
        <![CDATA[
         import mx.events.MenuEvent;
         import mx.events.FlexMouseEvent;
         import mx.controls.Menu;
         import mx.collections.ArrayCollection;
            import mx.controls.Alert;
     import events.EventDispatcherExample;
            [Bindable]
            private var dp:Array = [1, 2, 3, 4, 5, 6, 7, 8, 9]; 
   [Bindable]
   public var mouseTarget:DisplayObject;
            private function clickDouble(evt:MouseEvent):void{
             if(evt.target == null){
              return;
             }
             if(!evt.target.hasO


相关文档:

flex时序图示例

<?xml version="1.0" encoding="utf-8"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>

import mx.collections.ArrayCollection;
......

关于flex中tree的事件,展开事件

(1)tree点击事件public function handleList(ev:ResultEvent)
{
sourceList=ev.result as ArrayCollection;
}
private function tree_itemClick(evt:ListEvent):void {
var item:Object = Tree(evt.currentTarget).selectedItem;
if (pmtree.dataDescriptor.isBranch(item)) { ......

从头学FLEX no.1

1.当下载了flash builder 4 beta ,安装启动时候,回提示输入注册码。可通过网址https://freeriatools.adobe.com/flashbuilder4beta/ 输入Flex Builder 3 Serial #: 来换取 builder 4 beta的注册码。在邮件中查收
2.通过http://www.adobe.com/devnet/flex/videotraining/flex4beta/来学习flex4.个人感觉video做的很不 ......

flex as版计时器


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"
        ......

flex 制作的简单计算器

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal">
    <mx:Panel width="382" height="277" layout="absolute">
    ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号