검색결과 리스트
Flex에 해당되는 글 11건
- 2009.02.22 Flex 각 랜더러 자체의 팁
- 2009.02.22 Flex flex-config.xml
- 2009.02.22 Flex interval 살리고 죽이기
글
private function onItemRollOver ( event : ListEvent ) : void { var rowIndex :int = event.rowIndex-1; var colIndex :int = event.columnIndex; var arrCol :ArrayCollection = ArrayCollection ( dg.dataProvider ); var item :Object = arrCol.getItemAt ( rowIndex ); var key :String = DataGridColumn ( dg.columns [ colIndex ] ).dataField; var tipKey :String = key + "CODE"; DataGridColumn ( dg.columns [ colIndex ] ).showDataTips = true; DataGridColumn ( dg.columns [ colIndex ] ).dataTipField = tipKey; }데이터그리드의 itemRollOver에서 위 메소드를 호출하도록 하면... 각 렌더러 자체의 팁이 나온다
dataTipField 에 필드명을 지정 했는데 해당 필드명이 없을 경우 알아서 자동으로 자신의 필드명으로 세팅,
추가적으로 dataTipFunction도 컬럼에 달수 있음.
글
false true true true false false true false false true false false false true true false /WEB-INF/flex/global.css false false /WEB-INF/flex/mxml-manifest.xml /WEB-INF/flex/user_classes /WEB-INF/flex/Brady_classes /WEB-INF/flex/system_classes /WEB-INF/flex/frameworks /WEB-INF/flex/user_classes /WEB-INF/flex/frameworks_debug true true 500 500 1 1 true 7 0 14 true {context.root}/flex-internal/detection-kit/upgrade_flash/upgrade_flash.html {context.root}/flex-internal/secure/detection-kit/upgrade_flash/upgrade_flash.html http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab http://www.macromedia.com/go/getflashplayer https://www.macromedia.com/go/getflashplayer client {context.root}/flashproxy {context.root}/flashproxy false false http://{localserver}/* https://{localserver}/* http://www.xmethods.net/sd/2001/TemperatureService.wsdl http://services.xmethods.net:80/soap/* {context.root}/services/CatalogWS?wsdl {context.root}/services/CatalogWS true false {context.root}/services/EmployeeWS?wsdl {context.root}/services/EmployeeWS true false {context.root}/services/SalaryWS?wsdl {context.root}/services/SalaryWS true false client {context.root}/flashproxy {context.root}/flashproxy false false http://{localserver}/* https://{localserver}/* http://www.markme.com/* http://theserverside.com/rss/* http://www.klynch.com/* http://www.infoworld.com/rss/* http://news.bbc.co.uk/rss/* /samples/employeeService true false {context.root}/explorer/data/employees.jsp true false {context.root}/amfgateway {context.root}/amfgateway {context.root}/flex-ws/FlexRemoteObjectService {context.root}/flex-ws/FlexRemoteObjectService false samples.* samples * true info true info /WEB-INF/flex/logs/flex.log 200KB 3 20 1000 en U+0020-U+007E
글
var obj = new Object(); // interval을 돌리기 위한 Object var interval:Number = 0; // interval을 담는 변수 obj.interval = function() { // interval 될 함수 _root.MRE0300s.mreDBRO.getSelectList(sType, sItem, sLine); // Java함수 호출 } clearInterval( interval ); // 기존의 돌고있는 interval을 죽인다. interval = setInterval( obj, "interval",5000);