flexС´íÎ󣨳£¼Ç¶à×ö£©
1¡¢¼ÙÈçÒ»¸ö×Ô¶¨Òå¿Ø¼þ±»ÓÃÔÚÒ»¸öÖ÷¿Ø¼þÀÔÚ×Ô¶¨Òå¿Ø¼þÀïµÄ·½·¨¿ÉÒÔת»»ÎªÖ÷¿Ø¼þµÄ·½·¨£¬Íê³Éµ÷Óá£
userRulesCanvas.mxml ºÍ editRulesCanvas.mxml
compent¿Ø¼þ´úÂëÈçÏ£º
private function submitClick():void
{
if((code.length == 0)||(addr.length == 0))
{ //ÕâÀï¿Éµ÷ÓÃÖ÷³ÌÐòµÄ·½·¨editSipAccountHandle()
parentApplication.editSipAccountHandle(code.text,addr.text)
closeHandle()
}
}
Ö÷¿Ø¼þ´úÂëÈçÏ£º
public function editSipAccountHandle(sipAccount:String)
{
getUserRuleWs.modifyRulePhone(sipAccount);
}
2¡¢xml¸ñʽµÄstring¶ÔÏóµÄ¶ÁÈ¡
event.resultµÄÖµµÈÓÚÈçÏÂ
<?xml version="1.0" encoding="UTF-8"?>
<rule>
<sipAccount>sip:hill@ocp.gz.com</sipAccount>
<extension>sip:8190@ext.protel.com.hk</extension>
<action>
<outgoing>
<sipPhoneAddr code="408">sip:969071526@ext.protel.com.hk</sipPhoneAddr>
<sipPhoneAddr code="404">sip:963306728@ext.protel.com.hk</sipPhoneAddr>
Ïà¹ØÎĵµ£º
<?xml version="1.0" encoding="utf-8"?>
<s:Application name="Spark_NumericStepper_textInput_editable_test"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xml ......
We're going to keep this post lean and mean, and get down to
business with 10 Tips that will keep your Flex applications fast, lean,
and responsive.
Rule # 1: Clean up after yourself
In general, it is good practice to maintain clean code. Not only
in the sense of having properly formatted and ......
Ñ¡¶¨¾ØÐεÄÒ»¸ö¶¥µãΪÆðµã£¬¿ªÊ¼»
x0:¶¥µãºá×ø±ê
y0:¶¥µã×Ý×ø±ê
x1:ˮƽÏßÉÏÁíÒ»¶¥µãµÄºá×ø±ê
y1:ˮƽÏßÉÏÁíÒ»¶¡µãµÄ×Ý×ø±ê
private function drawDottenRect(g:Graphics,
x0:Number,
&nbs ......
ת£ºhttp://www.k-zone.cn/zblog/post/flex-flash-player-gc.html
Flex±à³Ì×¢ÒâÖ®ÐÔÄÜÓÅ»¯¡¢À¬»ø»ØÊÕµÄһЩ×ܽá
×Ô´Ó¿ªÊ¼×öFlex¡¢ActionScript 3.0µÄÏîÄ¿£¬ÎÒ¾ÍÒ»Ö±ÓëÀ¬»ø»ØÊÕ¡¢ÐÔÄÜÓÅ»¯ÕâЩÎÊÌâ´ò½»µÀ£¬Òò´ËÒ²×ܽáÁËһЩÓÅ»¯µÄ·½°¸£¬Í¬Ê±ÔÚһЩQQȺÖÐÒ²µÃµ½ÁËһЩ“¸ßÈË”µÄÖ¸µã£¬Òò´Ë½«´ËÄÚÈݼǼһÏ¡£
ÒÔÏ ......
<mx:DataGrid id="dg" click="select()" dataProvider= "{modelLocator.resultList}" borderStyle="none"
verticalGridLines="false" horizontalGridLines="false" verticalScrollPolicy="off" rowCount="10"
fontSize="16" fontStyle="normal" fontThickness="0" width="100%" height="100%">
<mx:columns& ......