Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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¡¢bison´úÂëÔÚvisual studio ±àÒë

ÔÚcygwinÏÂ×Ô¼ºÐ´Á˸ö»ã±àÆ÷£¬Ê¹ÓÃflexºÍbison·Ö±ð×ö´Ê·¨ºÍºÍÓï·¨·ÖÎö¡£ÔÚcygwinÏ¿ÉÒÔÔËÐУ¬µ«ÊÇ»ã±àÆ÷Òª×÷ΪÕû¸ö¹¦ÄܵÄÒ»²¿·Ö£¬¾Í²»µÃ²»°ÑËü·â×°ÆðÀ´£¬¸øÍⲿÌṩ½Ó¿Ú¡£Ï±ߴó¸Å½²Ò»ÏÂÒÆÖ²µÄ¹ý³Ì¼°Óöµ½µÄÎÊÌâ¡£
ÔÚvcÏÂн¨win32¿ØÖÆ̨ӦÓóÌÐò£¬Èç¹ûÄãµÄbisonÔ´´úÂëÖаüº¬mainº¯Êý½¨Ò»¸ö¿Õ¹¤³Ì¾ÍÐÐÁË£»
ÒªÔÚWindows϶ ......

flex builder eclipse²å¼þ°²×°·½·¨

Flex for eclipse²å¼þ£¬¹ËÃû˼Ò壬¾ÍÊÇ¿ÉÒÔÔÚEclipseϽøÐÐFlex¿ª·¢µÄ²å¼þ¡£ÏÂÃæ½éÉÜÕâ¸ö²å¼þµÄ°²×°·½·¨¡£
°²×°Flex for eclipse²å¼þ£¬ºÍ°²×°EclipseÆäËüµÄ²å¼þ·½·¨¶¼ÊÇÒ»ÑùµÄÓÐÁ½ÖÖ·½Ê½£ºÒ»ÊÇÖ±½Ó½«features,pluginsÁ½¸öÎļþ¼ÐÓëEclipseµÄºÏ²¢£»ÁíÒ»ÖÖÊÇͨ¹ýlinkµÄ·½Ê½£¬ÏÂÎÄÊǽéÉÜÈçºÎͨ¹ýLinkµÄ·½Ê½°²×°£®
1,ͨ¹ýlink· ......

ʹÓÃFlexÖع¹¹«Ë¾ÏîÄ¿

1. ÕûÌåµÄ½á¹¹·Ö²¼£º
¸÷Ä£¿éʹÓÃModuleÀ´»®·Ö£¬Ã¿¸öÄ£¿éµÄÒ³Ãæ¼°ÆäÏà¹ØµÄ×é¼þÔªËض¼ÊÇʹÓÃComponentÀ´»®·Ö£»
Ä£¿éµÄÇл»Ê¹ÓüÓÔصķ½Ê½£¬Ä£¿éÄÚ²¿µÄÇл»Ê¹ÓÃÒ³ÃæÌøתµÄ·½Ê½£»
¼¼ÊõÎÊÌ⣺ģ¿éµÄÇл»ÓëÒ³ÃæµÄÇл»µÄ¹ý³Ì£¡
ModuleLoaderÓëModuleManagerÖ®¼äµÄÈ¡ÉᣬѡÔñÁ˺óÕߣ¬¿É¿ØµÄ¸ü¶à£¬µ«ÊÇÄ¿Ç°µÄÓ°Ïì²¢²»´ó£¡
¹ØÓÚM ......

flex ×Ô¶¨Òå½ø¶ÈÌõ

µÚÒ»ÖÖ£ºÐÞ¸ÄÏÂÔؽø¶ÈµÄÎÄ×ÖΪÖÐÎÄ
½¨Á¢À©Õ¹ÖÁ mx.preloaders.DownloadProgressBar µÄÒ»¸öÀࣺ
01.package myDownPro
02.{
03.import mx.preloaders.DownloadProgressBar;
04.
05.public class myDownProBar extends DownloadProgressBar
06.{
07. public function myDownProBar()
08. {
09. //TODO: impl ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ