flexÈ¡ÕûÔËËã
ת×Ô£ºhttp://hi.baidu.com/wosinmaiken/blog/item/ee59f7a8f72604bdca130c24.html
/**ceil Ïòǰ(ÊýÖáÏòÓÒ)È¡Õû(·µ»ØÖµÎªNumber)**/
trace(Math.ceil(10.4)); //11
trace(Math.ceil(10.5)); //11
trace(Math.ceil(-10.4)); //-10
trace(Math.ceil(-10.5)); //-10
/**floor Ïòºó(ÊýÖáÏò×ó)È¡Õû(·µ»ØÖµÎªNumber)**/
trace(Math.floor(300.4)); //300
trace(Math.floor(300.5)); //300
trace(Math.floor(-300.4)); //-301
trace(Math.floor(-300.5)); //-301
/**round ÕûÊýËÄÉáÎåÈ룬¸ºÊýÎåÉáÁùÈë(·µ»ØÖµÎªNumber)**/
trace(Math.round(8000.4)); //8000
trace(Math.round(8000.5)); //8001
trace(Math.round(-8000.4)); //-8000
trace(Math.round(-8000.5)); //-8000
trace(Math.round(-8000.6)); //-8001
Ïà¹ØÎĵµ£º
ÓÐʱºòһЩ×ÊÁÏÖ»Äܸø±ðÈË¿´£¬Èç¿É´òÓ¡µÄÎĵµÈçDOC£¬PDF£¬µ«²»ÄÜÈÃÆäËûÎÞȨÏÞµÄÈËÁí´æ»òÕß´òÓ¡£¬ÌرðÊÇweb°æµÄÎļþ¹ÜÀíÀàµÄϵͳ£¬×ܻῼÂǵ½Õâ¸öÎÊÌâ¡£µ±ÓÃIEÖ±½Ó´ò¿ªpdfµÄʱºò£¬¾¡¹Ü¿ÉÒÔÆ£±ÖIEµÄÁí´æÎª£¬µ«Êǵã»÷PDFÎļþµÄʱºò£¬ÔÙ°´F8µÄʱºò£¬PDFµÄÔĶÁÆ÷È磨adobereader£©»áÏÔʾToolsBar£¬ËùÒÔÖ±½Ó´ò¿ªpdfÃ²ËÆÐв ......
Ö÷³ÌÐò´úÂ룺
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
xmlns:mdi="ext.containers.windows.mdi.*"
width="100%"
height= ......
flex ¿Ø¼þÊôÐÔ
2009-11-12 16:06
ʹÓÃ<mx:Style>±êÇ©ÔÚMXMLÎļþÖд´½¨±¾µØµÄÑùʽ¶¨Òå¡£Õâ¸ö±êÇ©°üº¬ÁË·ûºÏCSS2.0Óï·¨µÄÑùʽ±í¶¨
Òå¡£ÕâЩ¶¨Òå»áÓ¦Óõ½µ±Ç°ÎĵµÒÔ¼°µ±Ç°ÎĵµµÄ×ÓÎĵµ¡£
<mx:style>
.solidBorder{//ÀàÑ¡ÔñÑùʽ
borderStyle:solid;
}
button{//×é¼þ¶¨ÒåÑùʽ
borderStyle:solid;
}
.. ......
/*Copyright (c) 2006 Adobe Systems Incorporated
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, m ......
servlet ¶Ë£º
String userId = request.getParameter("userId");
System.out.println(userId);
response.setCharacterEncoding("UTF-8");
response.getWriter().println("hello world -- ÎÒ°®Äã¡£¡£¡£");
Flex ǰ̨¶Ë
<fx:Script>
<![CDATA[
import flash.trace.Trace;
private var loader:UR ......