Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

flexʵÀýЧ¹ûͼ

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" verticalAlign="top" applicationComplete="init()">
<mx:Script>
 <![CDATA[
  
  import mx.events.ItemClickEvent;
import mx.collections.ArrayCollection;
import mx.controls.Alert;
[Bindable]
public var dataColl:ArrayCollection=new ArrayCollection();
//ID񅧏
var k=1;
//ÁªÏµÈ˶ÔÏó
var userobj:Object;
//ÐÔ±ðĬÈÏ״̬
var sexobj:String="ÄÐ";
//ÓÒ¼üɾ³ý²Ëµ¥
var menucont:ContextMenu;
//³õʼ»¯ÐÐÊý
var p:int=0;
public function init():void{
menucont=new ContextMenu();
addMenuItems();
}
//Ìí¼ÓÓÒ¼ü²Ëµ¥Ïî
public function addMenuItems():void{
var item:ContextMenuItem = new ContextMenuItem("ɾ³ý");
menucont.customItems.push(item);
item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemHandler);
menucont.hideBuiltInItems();
userdata.contextMenu = menucont;
}
//²Ëµ¥ÓÒ¼üʼþ´¦Àí
public function menuItemHandler(event:ContextMenuEvent):void{
var CaptionString:String=event.target.caption;
if(CaptionString=="ɾ³ý"){
//È·¶¨Êó±êËùÔÚÐÐÊý
var findex:Number = Math.floor(userdata.contentMouseY/userdata.rowHeight)-1 + userdata.verticalScrollPosition;
if (findex<0 || findex>=userdata.verticalScrollPosition+userdata.rowCount-1) //ÐкÅСÓÚ0ʱºÍ´óÓÚdatagridÐÐ×ÜÊýʱµÄ ´íÎó´¦Àí
{
Alert.show("ÇëÑ¡ÔñҪɾ³ýµÄÐÐ","Ìáʾ");
} else {
p=findex;
dataColl.removeItemAt(p);
Alert.show("ɾ³ý³É¹¦","Ìáʾ");
}
}
}
public function checkuser(event:MouseEvent):void{
var gname=uname.text;
var gphone=uphone.text;
if(gname!="" && gphone!=""){
dataprovider();
}else{
Alert.show("ÇëÊäÈëÓû§Ãû»òµç»°ºÅÂë","Ìáʾ");
}
}
//µ¥Ñ¡°´Å¥´¥·¢Ê¼þ
public function changsex(event:ItemClickEvent):void{
if(event.currentTarget.selectedValue=="f"){
sexobj= "Å®";
}else{
sexobj= "ÄÐ";
}
}
//ÖØÖÃ
public function resetvalue(event:MouseEvent):void{
uname.text


Ïà¹ØÎĵµ£º

Flex httpservice·µ»ØÖµÀàÐͺʹ¦Àí

·µ»ØÊý¾ÝµÄ¸ñʽresultFormatÓм¸ÖÖÀàÐÍ£¬object¡¢array¡¢xml¡¢flashvars¡¢textºÍe4x£¬Ä¬ÈϵÄÉèÖÃΪobject¡£
RESULT_FORMAT_ARRAY : String = "array"
[] ½á¹û¸ñʽ“array”Óë“object”ÏàËÆ£¬µ«ÊÇÆä·µ»ØµÄֵʼÖÕΪÊý×飻ÕâÑù£¬Èç¹û´Ó½á¹û¸ñʽ“object”·µ»ØµÄ½á¹ûÉв»ÊÇÊý×飬Ôò½«°Ñ¸ÃÏî ......

ÀûÓÃFlexÕûºÏMicrostrategy¿ª·¢±¨±í

×î½ü½Ó´¥Á˺ܶණÎ÷£¬²»Í£µÄÅä»·¾³£¬Ã¿´Î°æ±¾ÎÊÌⶼµÃÕÛÌÚÒ»·¬¡£
MicrostrategyÌṩÁËÒ»¸öFlex²å¼þ£¬ÓÃÀ´¿ª·¢ÏÔʾ±¨±íÊý¾ÝµÄFlashÄ£°å¡£
ÀûÓÃflex¿ª·¢¼òµ¥±¨±í¹ý³Ì£º
1.°²×°£ºMicrostrategy8.1
2.°²×°Flex Builder 2.2¡£
3.ÔÚFlex BuilderÖа²×°visualization builder²å¼þ
   ·½·¨£º½«\Microstrategy\SDK\t ......

eclipse 3.4 ÅäÖà Flex 3.0 ²å¼þ

Ò»¡¢ÏÂÔØ eclpse 3.4
µØÖ·£ºhttp://archive.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-SDK-3.4.2-win32.zip
Íê³Éºó£¬È¥ eclipse Àï¸üÐÂÈí¼þ£¬²Ëµ¥£º Help ---  Software Updates µã Ganymede Update Site £¬Ñ¡ÖÐ Java Development £¬´Ë¶¯×÷Ϊ°²×° eclipse 3.4 ÀïµÄ Web ¿ª·¢²å¼þ£»
¶þ¡¢Ï ......

FlexÖеĵ¼º½Æ÷

Ò»¸öµ¼º½ÈÝÆ÷¿É
ÒÔͨ¹ýÒ»×é×ÓÈÝÆ÷À´¼à¿ØÓû§µÄ²Ù×÷¡£±ÈÈ磬TabNavigator
Õâ¸öÈÝÆ÷¾Í¿ÉÒÔͨ¹ýÒ»×étabs
À´ÈÃÓû§Ñ¡Ôñ¿É¼ûµÄ×ÓÈÝÆ÷¡£Flex3
ÌṩÁËÈýÖÖÖ÷ÒªµÄµ¼º½ÈÝÆ÷£º
Ø      

ViewStack
Ø      

TabNavigator
Ø &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ