본문 바로가기

컴터

(225)
url 얻어오기 http://livedocs.adobe.com/flex/3/html/help.html?content=deep_linking_5.html
itemRenderer 안에서 함수 호출 대신에 href 함수는 private 가 아닌 다른 곳에서 쓰일수 있게 선언해야 한다. 또는 outerDocument.href();
배열 초기화 listArr.length = 0; 나 listArr = [];
Icon 등록시 주의 사항 icon/img16.png icon/img32.png icon/img48.png icon/img128.png ----> initialWindow아래있는 icon 이다. 위치 정확히..ㅡㅡ;; 크기는 16*16 이면 정확히 해줌. fileType 아래에도 같은 태그가 잇는데 뭐에 쓰는지 아시는분?? 여기의 icon 을 등록하면 에러난다.
이벤트리스너에 인자값 넣기 http://cafe.naver.com/ArticleRead.nhn?clubid=10833316&page=1&searchtype=1&query=addEventListener 인자&searchdate=all&articlemedia=0&sortby=date&articleid=9730 btn.addEventListener(MouseEvent.CLICK, fnc); ---------------> btn.addEventListener(MouseEvent.CLICK, function():void{fnc(1,'ab');}); exitCommand.addEventListener(Event.SELECT, function(event:Event):void { NativeApplication.nativeApplication...
navigateToURL(url); 에서 파라미터 값 보내기 import flash.net.*; public var url:URLRequest = new URLRequest("http://~~~~/index.jsp"); var uv:URLVariables = new URLVariables(); url.method = "GET"; uv.name = "fred"; url.data = uv; navigateToURL(url); -------이건 별루 추천 X-------------------------- var searchWord:String = keyword.text; var lnk:String = "http://~~~/file.html?boardCode=gallery&category=&search=" + searchWord; navigateToURL(new URLR..
스크롤 생겼을때 y 축계산시 벗어난것 해결 클릭으로 레이어 띄울때 스크롤이 길어 스크롤바를 밑으로 내리고 레이어를 띄우게 되면 event.y 만 하게 되면 마우스 위치에 뜨지 않는다. 그걸 해결하기 위해 document.body.scrollTop 을 해서 더해 주면 스크롤 내린 만큼 보상해 준다 document.body.scrollTop + event.y;
explode 와비슷함 http://database.sarang.net/?inc=read&aid=7367&criteria=pgsql&subcrit=&id=&limit=20&keyword=substring&page=1 abc-def-ghi 이 값이 한필드에 있는데요 이값을요 abc , def, ghi 따로 뽑아서요 새로운 필드 3개에 넣고 싶습니다. 자르는 방법좀 알려주세요 ---------------------> split_part('abc-def-ghi','-',1), split_part('abc-def-ghi','-',2), split_part('abc-def-ghi','-',3)