Flex (actionscript3.0)×Ö·û´®´¦ÀíÀà
Flex (actionscript3.0)×Ö·û´®´¦ÀíÀàMyStringUtils.as
×öÏîÄ¿µÄ¹ý³ÌÖУ¬ÄÑÃâÒªÓõ½Ò»Ð©¸ö¹«¹²µÄ´¦ÀíÀ࣬±ÈÈç ×Ö·û´® ÈÕÆÚ ¸ñʽ»¯ Êý×éµÈ¡£±¾ÈËдµÄÒ»¸ö×Ö·û´®´¦ÀíÀ࣬ϣÍû´ó¼ÒÖ¸µã½»Á÷¡£
¹¦ÄÜ°üÀ¨£º
1,´¦ÀíxmlÏà¹ØµÄ×Ö·û£¬ÒòΪÔÚ¸úºǫ́java´ò½»µÀʱ£¬Õâ¸öÎÊÌâ¾³£Óöµ½:°ÑxmlÀïÃæµÄÌØÊâ×Ö·ûת»»³ÉÌæ´ú×Ö·û
2,ÅжϿÕ
3,È¥³ýÁ½Í·µÄ¿Õ¸ñ
4,È¡µÃÖ¸¶¨×Ö·ûÔÚ´®ÖеÄλÖÃ
5,½ØÈ¡×Ö·û´®
6,´Ó¿ªÊ¼Ï±ê½ØÈ¡Ò»¶¨³¤¶ÈµÄ×Ö·û´®
7,½«×Ö·û´®×ª»»ÎªÊý×é
8,Ìæ»»×Ö·û´®
9,Ì滻ȫ²¿×Ö·û´®
10,·´×ª×Ö·û: abc==>cba
11,È¡µÃij¸ö×Ö·ûµÄASCIIÂë
12,È¡µÃij¸öλÖõÄ×Ö·û
13,´óСдת»»
14,½«×Ö·ûת»»³ÉbooleanÖµ
15,È¥³ýÍ·²¿µÄ¿Õ¸ñ
16,È¥³ýβ²¿µÄ¿Õ¸ñ
17,ÊÇ·ñÒÔij¸ö×Ö·û´®¿ªÍ·
18,ÊÇ·ñÒÔij¸ö×Ö·û´®¿ªÍ·[ºöÂÔ´óСд]
19,ÅжÏÊÇ·ñÒÔij¸ö×Ö·û´®½áβ
20,ÅжÏÊÇ·ñÒÔij¸ö×Ö·û´®½áβ[ºöÂÔ´óСд]
21,ÅжÏÊÇ·ñÊÇÊý×Ö
22,±È½ÏÊÇ·ñÏàͬ
23,°´ÕÕij¸ö±êʶ·Ö¸î³ÉÊý×é
24,ÅжÏÊÇ·ñ°üº¬
25,ÓëUTF-8±àÂëµÄÏ໥ת»»
////////////////////////////////////////////////////////////////////////////////
//
// My System
// Copyright 2008-2009 My Systems Incorporated
// All Rights Reserved.
//
// NOTICE: My System permits you to use, modify, and distribute this file
// Langversion ActionScript 3.0
// playerversion Flash 9.0
// DATE: 2008-12-04 keren
// QQ: 994251681
// MSN: keren1515@hotmail.com
//
////////////////////////////////////////////////////////////////////////////////
package org.app.utils.common
{
import mx.utils.StringUtil;
/**
* ×¢Ò⣺\unnnn,±íʾʮÁù½øÖƵÄunicode±àÂ룻
* \xnn ,±íʾʮÁù½øÖƵÄascii±àÂ룻
*/
public class MyStringUtils
{
private static var instance:MyStringUtils;
public static function getInstance():MyStringUtils{
&n
Ïà¹ØÎĵµ£º
ʲôÊÇCairngorm£¿
Cairngorm£¨ÖÐÎÄÃû£º“ÑÌË®¾§”£¿£©ÊÇÒ»¸öÇáÁ¿¼¶µÄFlex RIA³ÌÐò¿ª·¢¿ò¼Ü£¬´Ó¶øʹ³ÌÐò¿ÉÀ©Õ¹ÐÔ¡¢¿Éά»¤ÐÔ¶¼´ó´óÌá¸ß£¬Æä±¾Éí²¢²»ÊÇÒ»¸öÍêÕûµÄÆóÒµÓ¦Óã¬ËüÖ»ÊÇÌṩÁËÒ»¸ö¿ª·¢¹Ç¼Ü£¬Adobe³Æ֮ΪÌåϵ¡£
CairngormÌåϵ
Ö÷Òª°üÀ¨ÒÔϼ¸¸ö²¿·Ö£º
1¡¢VO£¨Value Object£©
IValueObject ºÍ ValueO ......
½ñÌ쿪ʼѧϰflexÁË¡£Å¼ÓõÄÔÚÍøÉÏ¿´Á˺ܶà±ðÈ˵IJ©¿Í¡£¸Ðл´ó¼ÒµÄÎÞ˽¡£ ËùÒÔ¾ö¶¨Ò²°Ñ×Ô¼ºÑ§Ï°µÄ³É¹ûºÍÐĵ㬻¹ÓÐһЩ
ÓÐÓõÄÎÄÕ·¢±íµ½²©¿ÍÖС£ ´íÎóµÄµØ·½»¹ÇëÖ¸³ö¸ÄÕý¡£Ð»Ð»£¡
×Ô¼ºµÄµÚһƪÎÄÕÂ
תÔØһƪ¸Õ¸ÕÓõ½µÄÎÄÕÂ
FlexÌøתµ½JSP»òÕßÆäËû· ......
var request:URLRequest = new URLRequest('lx2.html');
navigateToURL(request,"_top");
"_top" ÀàËÆÓÚhtmlÖеÄtarget
"_self" Ö¸¶¨µ±Ç°´°¿ÚÖеĵ±Ç°Ö¡¡£
"_blank" Ö¸¶¨Ò»¸öд°¿Ú¡£
"_parent" Ö¸¶¨µ±Ç°Ö¡µÄ¸¸¼¶¡£
"_top" Ö¸¶¨µ±Ç°´°¿ÚÖеĶ¥¼¶Ö¡¡£
function check(us ......
Ò»£ºÖ±½ÓÉèÖÃ
¶þ£º»ÃæÉÏÉèÖãº
È磺
<mx:Style>
TextArea{
font-size:36px
font-weight: bold
}
</mx:Style>
Èý£ºÊ¹ÓÃÍâÖÃÎļþ
<mx:Style source="style.csss"/> ......