¹ØÓÚflex ÖÐevent ±»´¥·¢µÄÎÊÌâ
strategyMarketsOfCurrentStrategy.addEventListener(CollectionEvent.COLLECTION_CHANGE, strategyMarketsDataChangedHandler);
strategyMarketsOfCurrentStrategy.removeAll();
strategyMarketsOfCurrentStrategy.addAll(strategyProfilesForClone);
private function strategyMarketsDataChangedHandler(event:CollectionEvent):void
{
trace("ffffffffffffffffffffffffffffffffffffffff"+ObjectUtil.toString(event.kind));
isStrategyMarketsChanged = true;
if (event.kind == CollectionEventKind.ADD)
{
event.items[0].dirty = true;
event.items[0].isInvalidTradeCountry = true;
event.items[0].isHoldBackFlagExist = true;
event.items[0].isStatusExist = true;
}
}
½á¹ûÊÇstrategyMarketsDataChangedHandler ûÓб»Ö´ÐС£
ÈôÖ»±£ÁôstrategyMarketsOfCurrentStrategy.removeAll();
Ôò¾Í»á±»Ö´Ðе½¡£ ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£Ææ¹Ö
Ïà¹ØÎĵµ£º
http://elromdesign.com/blog/2010/03/10/test-driven-development-tdd-with-flexunit-4-complete-tutorial/
±¾À´ÊÇ´òËãÍêÕûµÄ·ÒëÍê³ÉÕâÆª²©Îĵģ¬Ò»±ß·Ò룬һ±ß̸̸×Ô¼º¶ÔÇý¶¯²âÊÔ¿ª·¢µÄÀí½â¡£ µ±È»ÎÒµÄÀí½âºÍÔÎÄ×÷ÕßµÄÀí½â²»Ò»¶¨Ò»Ñù£¬µ«ÊÇÖÁÉÙ£¬ÎÒÃǶ¼³ÐÈÏ¿ª·¢µÃÊDzâÊÔÇý¶¯µÄ¡£ È»¶øCSDNµÄ²©¿ÍϵͳÊÇʵÔÚ²»ÄÜÀí½â¡¾Î ......
FlexÖÐImage¼ÓÔØÍ¼Æ¬³ö´íʱÏÔʾĬÈÏͼƬµÄ·½·¨Ö÷ÒªÓÐÒÔϼ¸ÖÖ£º
·½·¨Ò»£ºÀûÓà brokenImageSkin ·ç¸ñÏÔʾһ¸öĬÈϵÄͼ£¬Ö»ÐèÉèÖÃCSS¾ÍÐÐÁË£¬ÈçÏ£º
<mx:Style>
Image {
brokenImageSkin: Embed("assets/404.jpg");
}
</m ......
Ò» ÍøÕ¾
1 ÔÚÏßͼƬ´¦Àí¹¤¾ßÍøÕ¾http://www.flauntr.com/
¡£
2 ¹Ù·½ÍøÕ¾µÄÀý×Ó http://examples.adobe.com/flex3/componentexplorer/explorer.html
3 ¹Ù·½AS3ѧϰ×ÊÁÏÍøÕ¾ http://www.adobe.com/devnet/actionscript/
4 Õâ¶ùÍÆ¼öÒ»¸öÍøÖ·£¬²»½ö¿ÉÒÔ¶ÔÆäËüµÄÊý¾ÝÀàÐͽøÐÐѧϰ£¬»¹Óлù´¡µÄÓï·¨£¬·Ç³£²»´í£º
  ......
ǰһÕóÔÚÂÛ̳ÉÏ¿´µ½Ò»¸öÐֵܣ¬ÏëÔÚFlex ChartÖÐΪͼÀýÉèÖÃ3DЧ¹û,½ü¼¸Ìì²éÕÒÁËЩ×ÊÁÏ£¬¶¯ÊÖ×öÁ˸öDEMO¹©´ó¼Ò²Î¿¼!
DEMOÑÝʾµØÖ·http://xingjunli.webs.com/flash/flexChartDemo.swf,ÏÈÀ´¸öͼƬ¿´¿´×îÖÕЧ¹û:
Ïà¹ØÖªÊ¶µã
......
ÔÚflexµÄdataGridÖУ¬ºÜ¶àÇé¿öÏÂÁÐÊÇÐèҪǶÈëÆäËûµÄ¿ØÖƵ쬱ÈÈ磺checkbox,comboxµÈ£¬´ËʱÐèÒªÀûÓÃdataGridµÄÈçϹ¦ÄÜ£º
1.datagrid±à¼¹¦Äܼò½é
µ±ÎÒÃǵã»÷datagridÖеÄÒ»¸öµ¥Ôª¸ñ½øÐбà¼Ê±£¬¿É½áºÏʹÓÃһЩ×é¼þ£¬RadioButtonGroup¡¢checkbox¡¢ComboBoxµÈ
datagridµÄ±à¼¹¦Äܱ ......