FlexµÄÊý¾ÝÀàÐÍ
• String£ºÒ»¸öÎı¾Öµ£¬ÀýÈ磬һ¸öÃû³Æ»òÊéÖÐijһÕµÄÎÄ×Ö
• Numeric£º¶ÔÓÚ numeric ÐÍÊý¾Ý£¬ActionScript 3.0 °üº¬ÈýÖÖÌض¨µÄÊý¾ÝÀàÐÍ£º
• Number£ºÈκÎÊýÖµ£¬°üÀ¨ÓÐСÊý²¿·Ö»òûÓÐСÊý²¿·ÖµÄÖµ
• Int£ºÒ»¸öÕûÊý £¨²»´øСÊý²¿·ÖµÄÕûÊý£©
• Uint£ºÒ»¸ö“ÎÞ·ûºÅ”ÕûÊý£¬¼´²»ÄÜΪ¸ºÊýµÄÕûÊý
• Boolean£ºÒ»¸ö true »ò false Öµ£¬ÀýÈ翪¹ØÊÇ·ñ¿ªÆô»òÁ½¸öÖµÊÇ·ñÏàµÈ
¸´ÔÓһЩµÄ£º
• MovieClip£ºÓ°Æ¬¼ô¼Ôª¼þ
• TextField£º¶¯Ì¬Îı¾×ֶλòÊäÈëÎı¾×Ö¶Î
• SimpleButton£º°´Å¥Ôª¼þ
• Date£ºÓйØʱ¼äÖеÄij¸öƬ¿ÌµÄÐÅÏ¢£¨ÈÕÆÚºÍʱ¼ä£©
Ïà¹ØÎĵµ£º
ÈÕÇ°×öÏîÄ¿£¬ÐèÒª°ÑÒ³ÃæµÄJS´úÂë³é³öÀ´·Åµ½Ò»¸ö.jsÎļþÖУ¬ÓÉÓÚflex³ÌÐòÊÇÒÔdiv+SWFObjectµÄ·½Ê½Ç¶Èëµ½Ò³ÃæµÄ£¬ÎªÁ˴ﵽĿ±êÍøÕ¾Ö»ÐèÒªÒýÓÃÒ»¸ö.jsÎļþ¼´ÊµÏÖÒýÓÃÏîÄ¿¹¤³ÌµÄÄ¿µÄ£¬ËùÒÔÒ²Òª°ÑSWFObjectµÄ´úÂë·Åµ½.jsÎļþÖС£
˼·ÊÇÓÃdocument.write()°ÑÒýÓÃswfÎļþµÄ´úÂëд½øÒ³Ã棬Ȼºó°ÑflexÒªµ÷ÓõÄjsº¯Êý¶¼·Åµ½.j ......
½ñÌì±à³ÌÐòµÄʱºò£¬ÏëÔÚasÀïÃæ¸ù¾Ý×é¼þµÄidÀ´È¡µÃ×齨¶ÔÏó£¬ÓÉÓÚ×é¼þºÜ¶à£¨30¸ö£©£¬idÊÇtxt1~txt30£¬ËùÒÔ¾ÍÏñд¸öÑ»·À´¶¯Ì¬È¡¶ÔÏó£¬ÀàËÆjsÀïÃægetElementByIdÕâ¸ö·½·¨£¬×îºó·¢ÏÖ¿ÉÒÔÕâÑùthis[id]À´È¡£¬ºÜ·½±ã£¬²»ÓÃŪһÛçÈßÓàµÄ´úÂëÁË^^.
......
package
{
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;
import flashx.textLayout.formats.BackgroundColor;
import spark.effects.interpolation.RGBInterpolator;
public class Map extends Sprite implements IMap
{
//¸ñ×ӵĿí¸ß
private va ......
1.¹ØÓÚflexµ÷ÊÔ³ö´íеĽâ¾ö˼·:³ýÁËÍøÉÏ˵µÄflash debug°æ±¾Ã»×°Íâ,nodɱ¶¾Èí¼þÒ²ÊÇÒ»¸öÎÊÌâ »¹ÓоÍÊǵ÷ÊÔģʽµÄÎÊÌâ Óб¾µØģʽºÍÔ¶³Ìģʽ ¾ßÌåÐ޸ķ½Ê½µ÷ÊÔ״̬ÏÂÓÒ»÷µ÷ÊÔÆ÷Ñ¡Ôñ×Ô¼ºÏëÒªµÄ. 2.flex°ó¶¨Êý×éɾ³ýÔªËغólistûÓиüÐÂÊý¾Ý ¿ÉÒÔÓÃinvalidateList() 3.progressBar½ø¶Èû¸üпÉÄÜÊÇmodeÉ趨µÄÔÒò ......
Flexƽ̨֧³Ö·¶Î§¹ã·ºµÄ·¢²¼Ä£Ê½£¬ËüÃÇÊÇ£º
1. ¿Í»§¶Ëģʽ£¬¼´Ó¦ÓóÌÐòÖ»ÔËÐÐÔÚ¿Í»§¶ËÉ϶ø²»ÐèÒª·þÎñÆ÷×ÊÔ´¡£
2. ʹÓüòµ¥µÄRPC ·ÃÎÊ·þÎñÆ÷Êý¾Ý£¬ ¼´Ê¹ÓÃHTTPService £¨HTTP GET»òPOSTÇëÇó£©
ºÍ WebService£¨Í¨¹ýʹÓÃSOAP£© ¡£
3. Flex Data Servicesģʽ£¬¿ÉÒÔÌṩ¸üΪ¸ß¼¶µÄÌØÐÔ£¬È ......