第4课 Flex应用程序结构概述


  第4课 Flex应用程序结构概述
  -------------------------------------------------- ------------------------------
  Task.as
  package com.pomodo.model
  {
  public class Task
  {
  [Bindable]
  public var name:String;
  public function Task(name:String = ""){
  this.name = name;
  }
  }
  }
  TodoList.mxml
  
  flex/spark" 
  xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
  
  
  
  
  
  
  height="100%">
  height="100%">
  
  
  
  
      
  height="100%"
  labelField="name"
  dataProvider="{_tasks}" />
  
  height="30"
  enabled="{taskList.selectedItem != null}"
  click="deleteSelectedTask()" />
      
  
  
  
  -------------------------------------------------- ------------------------------

猜你喜欢

转载自bfycj00q.iteye.com/blog/1574162