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

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>
           


Ïà¹ØÎĵµ£º

flex ÖÐʵÏÖ×Ô¶¨Òå¹ö¶¯

ÔÚÓ¦ÓÃÖУ¬ºÜ¶à¶¼ÏëʵÏÖflexµÄ¿Ø¼þûÓйö¶¯ ¶øÊÇͨ¹ýÆäËûµÄ°´Å¥·½Ê½½øÐпؼþÄÚÈݵĹö¶¯£¬ÕâÑùʵÏֵĿªÊ¼µ±È»ÊÇÒªÉèÖÃhorizontalScrollPolicy="off" verticalScrollPolicy="off"ÁË£¬È»ºóͨ¹ýcontainerµÄhorizontalScrollPosition »òverticalScrollPositionµÄ¼Ó ¼õÀ´ÊµÏÖÄÚÈÝ×óÓÒ¡¢ÉÏϹö¶¯¡£Ë¼Â··½·¨ÍêÈ«ÕýÈ·£¬µ«ÊÇÔÚÕâÑùµÄÇ ......

Flex ÖпÉÄܵ¼ÖÂÄÚ´æй¶µÄµØ·½

Flex ÖпÉÄܵ¼ÖÂÄÚ´æй¶µÄµØ·½
ÊÕ¼¯Á˲»ÉٵĻᵼÖÂÄÚ´æ鶵ÄÇé¿ö£º
ʼþ¼àÌý£º
¶Ô¸¸¼¶¶ÔÏó¼ÓÁ˼àÌýº¯Êý£¬»áÔì³ÉÄÚ´æй¶£¬Àý£º
override protected function mouseDownHandler(…):void
{
systemManager.addEventListener(“mouseUp”, mouseUpHandler);
......
½â¾ö£º
ÔÚÏú»Ù¶ÔÏóµÄʱºò£ ......

FLEXÈÝÆ÷µÄ²¼¾Ö¹æÔò

FLEXÖÐËùÓеIJ¼¾Ö¶¼ÐèÒªÈÝÆ÷¡£<mx:Application>±êǩʵ¼ÊÉϾÍÊÇÒ»¸öÈÝÆ÷¡£Ã¿¸öÈÝÆ÷¶¼ÓÐÒ»¶¨µÄ¹æÔòÀ´È·¶¨×ÓÔªËصÄÅÅÁз½Ê½£¬Ò²¾ÍÊDZ¾ÎÄÌÖÂÛµÄFLEXÈÝÆ÷²¼¾Ö¹æÔò¡£
VBox
×ÓÔªËØÑØ´¹Ö±·½ÏòÅÅÁС£Ã¿¸ö×ÓÔªËض¼»á»æÖÆÔÚÇ°Ò»¸ö×ÓÔªËصÄÏ·½¡£
HBox
×ÓÔªËØÑØˮƽ·½ÏòÅÅÁС£Ã¿¸ö×ÓÔªËض¼»á»æÖÆÔÚÇ°Ò»¸ö×ÓÔªËصÄÓÒ·½¡£
Canv ......

flex »­ÐéÏß¾ØÐÎËã·¨

Ñ¡¶¨¾ØÐεÄÒ»¸ö¶¥µãΪÆðµã£¬¿ªÊ¼»­
x0:¶¥µãºá×ø±ê
y0:¶¥µã×Ý×ø±ê
x1:ˮƽÏßÉÏÁíÒ»¶¥µãµÄºá×ø±ê
y1:ˮƽÏßÉÏÁíÒ»¶¡µãµÄ×Ý×ø±ê
 private function drawDottenRect(g:Graphics,
                   x0:Number,
&nbs ......

Flex´úÂëÖع¹ÊµÂ¼(1)

Ç°ÑÔ
    ×î½ü£¬Õý½ß˹µ×ÀïµØÖع¹flex¼¼Êõƽ̨¿ª·¢µÄ²úÆ·¡¾wizBuilder CS¡¿¡£ÒÔǰΪ¸Ï¹¦ÄÜ£¬½çÃ沿·Ö´úÂ붼дµÃºÃÂÒ£¬ÏÖÔÚÊÇʱºòÐÞÀíÏÂ×Ô¼º×÷µÄÄõÁË£¬Ë³±ãΪ²úÆ·Ìí¼Ó¶àÓïÑÔÖ§³Ö(Localization)¡£
Ö÷ÒªÈÎÎñ
´úÂëÖع¹
¶àÓïÑÔÖ§³Ö
Ìí¼Óй¦ÄÜ¡¢ÐÞ¸ÄÏÖÓй¦ÄÜ¡¢È¥µô²»ºÏÀíµÄ¹¦ÄÜ
ÐÞÕýÖع¹¹ý³ÌÖз¢ÏÖµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ