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

flex ¹ö¶¯ÌõÎÊÌâ

flex¹ö¶¯ÌõËäÈ»ºÜºÃÓ㬵«×ÜÊÇ»á³öÏÖÒâÏë²»µ½µÄÎÊÌ⡣ǰ¼¸Ìì˵ÁË£¬Í϶¯ºó»¨ÆÁµÄÎÊÌ⣬½ñÌìÓÖ·¢ÏÖÁ˸ü¶ñÐĵÄÎÊÌâ¡£µ±Äã°ÑÈÝÆ÷µÄ¿í¶Èµ÷Ϊ100%ºó £¬verticalScrollbarPolicy ÓÃĬÈϵÄauto¡£ÕâÊÇÈç¹ûÄãËõ·Å´°¿Ú»á³öÏÖ¹ö¶¯Ìõ£¬µ«ÎÊÌâÕâÊǾͳöÏÖÁË£¬Ö»Òª³öÏÖÁË´¹Ö±¹ö¶¯Ìõ£¬Ë®Æ½¹ö¶¯Ìõ¾ÍÊDZ»ÆȳöÏÖ¡£
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:local="*">
<mx:Canvas width="100%" height="700"/>
</mx:Application>
ÕâÊÇÊÇÓÉÓÚflexÔÚ¼ÆËãÇ°ÃæµÄ°Ù·Ö±Èʱ£¬°Ñ´¹Ö±¹ö¶¯ÌõµÄ¿í¶ÈÒ²ËãÉÏÁË£¬ÎÒÒ»¿ªÊ¼ÒÔΪÊÇflexµÄbug¡£Ê¹ÆäËûµÄ¹Ù·½ÎĵµÖÐдÁËÒ»¾äºÜ»ªÀöµÄ»°¡£
"Flex considers scroll bars in its sizing calculations only if you explicitly set the scroll policy to ScrollPolicy.ON. So, if you use an auto scroll policy (the default), the scroll bar overlaps the buttons. To prevent this behavior, you can set the height property for the HBox container or allow the HBox container to resize by setting a percentage-based width. Remember that changing the height of the HBox container causes other components in your application to move and resize according to their own sizing rules."
-- from Sizing Components in the Flex 3 help, under "Using Scroll bars"
¾ÍÕâÑù»Ø±ÜÁËÕâ¸öÎÊÌâ¡£µ«Óиö°ì·¨Äã¿ÉÒÔ½â¾öÕâ¸öÎÊÌ⣬ÖØÔØvalidateSize·½·¨
// In your Application £¬module or wherever you need this workaround.
override public function validateSize(recursive:Boolean = false):void {
super.validateSize(recursive);
if (!initialized) return;
if (height < measuredHeight) verticalScrollPolicy = ScrollPolicy.ON;
else verticalScrollPolicy = ScrollPolicy.OFF;
}


Ïà¹ØÎĵµ£º

FLEXµÄcheckbox¸´Ñ¡¿ò

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
 <mx:Script>
  <![CDATA[
  function chkbox():void
  {
   var menssage:String = "";
   if (c ......

FlexÊÇʲô

FlexÊÇ RIA(rich internet applications,¼´¸»¿Í»§¶Ë)µÄÒ»ÖÖ¼¼ÊõʵÏÖ,ÏÂÃæÎÒÃÇ°ÑËü¼°ÆäÏà¹ØµÄ֪ʶÓëjava×ö¸ö¼òµ¥µÄ¶ÔÕÕ,ÓÉÓÚ¸öÈËˮƽÓÐÏÞ,ÏÂÃæµÄ±È½Ï½ö¹©²Î¿¼:
1.RIA     vs   ¿çƽ̨µÄ±à³Ì¼¼Êõ
2.Flex    vs   java
3.flex framework  vs jdk
4.flex buil ......

FlexÖÐÓ¦ÓóÌÐò¡¢Ä£¿éÖ®¼ä²ÎÊý´«µÝ

·   FlexÖÐÓ¦ÓóÌÐò¡¢Ä£¿éÖ®¼ä²ÎÊý´«µÝÒ»°ãÓÐÈýÖÖ·½Ê½:
·   1.ͨ¹ýURLЯ´ø²ÎÊý½øÐд«µÝ
·   2.ͨ¹ýʼþ½øÐд«µÝ
·   3.ʵÏÖ½Ó¿Ú½øÐд«µÝ
·   ÆäÖÐURL´«µÝ²ÎÊýʱ£º
·   ApplicationÖ®¼äºÍModuleÖ®¼äÊÇÓÐÇø±ðµÄ ......

flex¼ÓÔØÍⲿswfÎļþ£¬²¢ÇÒ»¥ÏàͨѶ

´ÓÍøÉÏתÔصģ¬»¹Ã»Ê±¼ä¼ø¶¨£¬ÔݼǼÔÚÕâÀï
http://blog.csdn.net/zyjasp/archive/2008/05/16/2452175.aspx
µÚÒ»²½:½¨Á¢¼ÓÔØÀà[CtmObjLoader],´ËÀà¿ÉÒÔ¼ÓÔØÎļþÀàÐÍ [ͼƬÎļþ»òswfÎļþ]
package
{
import flash.display.DisplayObject;
import flash.display.Loader;
import flash.events.*;
import flash. ......

MyEclipse 7.5,MyEclipse 8.0Öа²×°Flex²å¼þ

²»¿É·ñÈÏMyEclipseÏÖÔÚÔ½×öԽǿ´ó£¨±Ï¾¹ÊÇÊշѵÄÂ£¬Ç¿´óµ½¿ªÊ¼ÅųâµÚÈý·½²å¼þ£¬ÕâÓÐЩ²»·ûºÏEclipseµÄ³õÖÔ£¬Eclipse¾ÍÊÇ¿¿Á¼ºÃµÄÀ©Õ¹ÐÔ·¢Õ¹ÆðÀ´µÄ¡£
MyEclipse´Ó7.5¿ªÊ¼£¨7.0ûÓùý£¬²»ÖªµÀ£©£¬ÍêÈ«¸Ä±äÁ˳ÌÐò½á¹¹£¬ÏÖÔÚÀ©Õ¹µÚÈý·½²å¼þ ÔÙҲûÓÐÒÔÇ°ÄÇô·½±ãÁË£¬ÌرðÊÇlink·½Ê½£¬Õâ¶Ô³ÌÐòÔ±À´ËµÊÇÖÂÃüµÄ¡£Flex Plugin ° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ