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

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"
        creationComplete="init()">
 
    <mx:Script>
        <![CDATA[
            import flash.utils.Timer;
            import flash.events.TimerEvent;
 
            private const MIN_MASK:String = "00";
            private const SEC_MASK:String = "00";
            private const MS_MASK:String = "000";
            private const TIMER_INTERVAL:int = 10;
 
            private var baseTimer:int;
 
            private var t:Timer;
 
            private function init():void {
                t = new Timer(TIMER_INTERVAL);
                t.addEventListener(TimerEvent.TIMER, updateTimer);
            }
 
            private function updateTimer(evt:TimerEvent):void {
                var d:Date = new Date(getTimer() - baseTimer);
                var min:String = (MIN_MASK + d.minutes).substr(-MIN_MASK.length);
                var sec:String = (SEC_MASK + d.seconds).substr(-SEC_MASK.length);
                var ms:String = (MS_MASK + d.milliseconds).substr(-MS_MASK.length);
        &nbs


Ïà¹ØÎĵµ£º

FlexÓë.NET»¥²Ù×÷ϵÁÐÎÄÕÂĿ¼

  ±¾ÏµÁÐÎÄÕÂÖ÷Òª½éÉÜÁ˹ØÓÚFlexÓë.NET½áºÏ¿ª·¢ÖеÄһЩ»¥²Ù×÷ÐÔ£¬°üÀ¨ÍøÂçͨÐÅ¡¢Êý¾Ý¼ÓÔØ¡¢Êý¾Ý´«Êä¡¢Îļþ´«Êä¡¢ÒÔ¼°Ó¦ÓÃÓÚFlexÓë.NETЭ×÷¿ª·¢µÄͨÐÅÍø¹Ø¿ªÔ´ÏîÄ¿FluorineFxµÄÏà¹ØÖªÊ¶µã¡£
     ¿ªÔ´ÏîÄ¿FluorineFx¾ÍÊÇרÃÅÕë¶Ô.NETƽ̨ÓëFlexͨÐÅÌṩµÄAMFЭÒéͨÐÅÍø¹Ø£¬ÎÒÃÇ¿ÉÒÔͨ¹ ......

flex³ÌÐòFirefoxÏÂÖÐÎÄÊäÈëÂÒÂëµÄbug

firefoxϵ±flashÉèÖòÎÊý wmode Ϊ transparent »òÕß Opaque ʱºòÎı¾¿òÖÐÊäÈëÖÐÎÄ»á³öÏÖÎÊÌâ¡£
µÍ°æ±¾µÄfirefoxÖÐÎÞ·¨ÊäÈëÖÐÎÄ£¬¸ß°æ±¾ÖÐÔò³öÏÖÂÒÂë¡£
ÂÒÂëÓëflashºÍÒ³Ãæ±àÂ뷽ʽ¶¼Ã»ÓйØÏµ£¬ÊÇfirefoxµÄbugÔì³ÉµÄ¡£
½â¾ö·½·¨Ö»ÓÐʹÓÃwmodeµÄĬÈÏÖµ£¬µ«ÊÇÕâÑùʹµÃflashÔÚÕû¸öÒ³ÃæµÄ×îÉϲ㣬divµÈ¶¼»á±»ÆäÕÚµ²×¡¡£
¼Ç ......

¼òµ¥½éÉÜFlexÓëWeb·þÎñ¶ËµÄ½»»¥

¼òµ¥½éÉÜÐÅFlexÓëWeb·þÎñµÄ½»»¥
Ö÷ÒªÄÚÈÝ:
       1.ActionScriptÓë·þÎñ¶ËµÄ»ù±¾½»»¥·½Ê½(REST).
       2.ActionScriptÌØÓеÄÊý¾Ý´«Êä¸ñʽ(AMF)Óë·þÎñÆ÷½»»¥.
       3.FlexÓëWebService.
 
ҪʵÏÖActionScriptÓë· ......

flex °ÙÒ¶´°Ð§¹û

Blinds.as
package effects
{

import effects.effectClasses.BlindsInstance;

import mx.controls.scrollClasses.ScrollBarDirection;
import mx.effects.IEffectInstance;
import mx.effects.TweenEffect;

public class Blinds extends TweenEffect
{

......

flex ÓйصĴ¦ÀíÊý¾Ý

Ò»¸öÊý¾ÝÄ£Ð;ÍÊÇÒ»¸öActionScript¶ÔÏó£¬Õâ¸ö¶ÔÏóµÄÊôÐÔÓÃÀ´´æ´¢Ó¦ÓóÌÐòÖ®µØÄãµÄÊý¾Ý¡£ÔÚÏò·þÎñÆ÷·¢ËÍÊý¾Ý֮ǰ£¬»òÕß´Ó·þÎñÆ÷½ÓÊÕÊý¾Ýµ«»¹Ã»ÓÐʹÓÃ֮ǰ£¬Êý¾ÝÄ£ÐÍÌṩһ¸öÔÚFlexÓ¦ÓóÌÐòÖд洢Êý¾ÝµÄ;¾¶¡£Adobe FlexÓ¦ÓóÌÐòÓë·þÎñÆ÷Ö®¼äµÄͨÐÅÖ»·¢ÉúÔÚFlexÓ¦ÓóÌÐòÐèÒª¼ìË÷µÄÊý¾ÝÉÐδ¿ÉÓ㬺ÍʹÓÃFlexÓ¦ÓóÌÐòÖеÄÐÂÊý¾Ý ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ