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

Flex¼ÆËãÆ÷/ÈëÃÅ

Ö»ÊǼòµ¥ÊµÏÖÁËһϼÆËã¡£Ö÷ÒªÊÇÁ·ÏÂÊÖ¡£
ʵÏÖÁËÊó±ê¸ú¼üÅ̵ÄʼþÏìÓ¦¡£
-----------------------------
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
width="198" height="224" fontSize="12" themeColor="#4D8853" borderColor="#B1C2CE" backgroundGradientAlphas="[1.0, 1.0]"
backgroundGradientColors="[#DFDCDC, #196722]"
applicationComplete="initApp();"
>
<mx:Script>
<!--[CDATA[
var one:int = 0; //µÚÒ»¸öÊý
var two:int = 0; //µÚ¶þ¸öÊý
var jg:int = 0; //½á¹û
var other = 0; //²Ù×÷·û0,û.1,+,2-,3*,4/
var sate:int = 1; //1ÊÇÊäÈëµÚÒ»¸öÊý,2Êǵڶþ¸ö
//ÁÙʱ´æ´¢Îı¾¿òÖеÄÊý×Ö

internal function but_1():void
{
sum.text += 1;
}
internal function but_2():void
{
sum.text += 2;
}
internal function but_3():void
{
sum.text += 3;
}
internal function but_4():void
{
sum.text += 4;
}
internal function but_5():void
{
sum.text += 5;
}
internal function but_6():void
{
sum.text += 6;
}
internal function but_7():void
{
sum.text += 7;
}
internal function but_8():void
{
sum.text += 8;
}
internal function but_9():void
{
sum.text += 9;
}
internal function but_0():void
{
sum.text += 0;
}

internal function but_deng():void
{
var str:String;
str = sum.text;
two = int(str);

switch(other)
{
case 1:
jg = one + two;
break;
case 2:
jg = one - two;
break;
case 3:
jg = one * two;
break;
case 4:
jg = one / two;
break;
}
sum.text = jg.toString();
}

internal function chongfu():void
{
var str:String;
str = sum.text;
if(sum.text != "" && sate == 1)
{
one = int(str);
}
else
{
two = int(str);
}
sate = 2;
sum.text = "";
}

internal f


Ïà¹ØÎĵµ£º

flexѧϰÈÕÖ¾

*****************************************************
1-0. °²×°ÅäÖù¤×÷»·¾³
*****************************************************
1.°²×°jdk1.6
ÉèÖû·¾³±äÁ¿:java_home,ÄÚÈÝΪjdk°²×°ºójdkËùÔÚĿ¼£¬²»ÊÇjreĿ¼
2.°²×°tomcal 6.0µ½d:\
3.°²×°myeclipse 6.5
4.°²×°firefox¼°²å¼þ
  °²×°firefox
&nbs ......

flex ͼ±êÉèÖðٷֱȻòÕßÆäËü·ûºÅ

<?xml version="1.0"?>
<!-- charts/PredefinedAxisStyles.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Script>
<!--[CDATA[
//µ¼ÈëÏà¹Ø°ü
import mx.collections.ArrayCollection;
import mx.charts.*;
import mx.charts.ser ......

flexÎÞ·¨¶Ïµãµ÷ÊԵĽâ¾ö°ì·¨

·¸ÁËÒ»¸ö¼«µÍµÄ´íÎó£¬Õâ¸öÔ­ÒòÊÇ×Ô¼ºÔì³ÉµÄ£¬ÊÇ×Ô¼º°Ñ
¸ÄΪ±¾µØ×Ô¼º¼´¿É£¬
²éÁËЩӢÎÄÍøÕ¾µÄ½â¾ö·½°¸£¬ËµÊÇʲôϵͳÉý¼¶£¬Åµ¶Ùɱ¶¾Èí¼þÎÊÌ⣬¶¼²»ÊÇ×Ô¼ºÒªµÄ´ð°¸£¬ÊÇ×Ô¼ºÒÔÇ°²»Ð¡ÐĸÄÁË£¬ºóÀ´ÎÞÂÛÔõôжÔØ¡¢Éý¼¶¡¢ÖØ×°flash²å¼þ¶¼Ò»¸öÑù
http://hi.baidu.com/phperbo/blog/item/bf77fefb29a73b1e6d22ebe4.html
ÀÏÊÇÓö¼û ......

Flex Óë as3.0 SWF Ö®¼äµÄͨѶ

Ô´ÌùµØÖ· http://www.riachina.com/showtopic.aspx?topicid=8556#
ÓÉÓÚLocalconncetionµÄijЩÏÞÖÆ(һ̨¿Í»§Ö»¿ÉÒÔʹÓÃÌض¨Ãû×ÖµÄÒ»¸öÁ¬½Ó£¬ÕâÑùµÄ³ÌÐòÈç¹û¿ªÁ½¸ö´°¿Ú¾Í»á·¢ÉúÒì³£)£¬½ñÌìÏÐ×ÅûÊÂ×öÁËÒ»¸öÕâÑùµÄÊÔÑé¡£ÈÃFlash CS3ºÍFlexµÄ´úÂë¿ÉÒÔÏ໥µ÷Óã¬ÎªÁËÏÔʾЧ¹û£¬ÔÚË«·½µÄ½çÃæ·Ö±ð·ÅÖÃÁËÒ»¸öÎı¾ÊäÈë¿òºÍÒ»¸ö°´Å¥¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ