본문 바로가기

Flex

(37)
FLEX ResourceBundle 다국어 프로젝트 시작. (resourceManager) 다국어 시작하면서 우선 리소스 번들이 가능한지를 테스트 해보았다. 방법은 대략 2개 정도로 나누어진다. 장점과 단점이 있는데.... 간략하게 정리해본다. 우선 플랙스가 컴파일 할때 읽어 들이는 방법과 xml에서 읽어 들이는 방법 두가지가 있다. 1번 컴파일을 해서 읽어오는 경우에는 개발이 쉽다. 하지만 리소스 파일 변경될떄 마다 컴파일을 해줘야하는 단점이 있다. 2번 경우에는 개발하는 부분이 어렵다. 하지만 리소스 파일이 변경되어도 컴파일을 해주주않아도 된다. 1번경우에는 컴파일 될 경우를 등록해줘야한다. 그리고 참고로 SDK파일 안에 폴더가 언어별로 존재해야한다. 음....삽질 10분 ㅋ 2번경우는 소스에서 language = Capabilities.language; //en 이 언어타입으로 xml파일..
flex3 Mate Framework http://mate.asfusion.com/page/downloads http://www.flexdeveloper.com.au/go/news/by/yakov-fain/20080703-mate-flex-framework/
XML구조를 ArrayCollection 구조로 바꾸는 메소드. var myXML:XML = burger 1. 95 burger 2. 95 burger 3. 95 ; private function XmlToArrayCollection(xml:XMLList):ArrayCollection{ var result:ArrayCollection = new ArrayCollection(); var xmlLength:int = xml.length(); for(var i:int = 0; i < xmlLength; i++){ var row:XMLList = xml[i].children(); var rowChildLength:int = row.length(); var resultRow:Object = {}; for(var j:int = 0 ; j < rowChildLength; j++)..
Triggering effects when a container’s visibility is changed add
Using data effects to animate chart data
Creating a Custom Panel with a custom Titlebar the Application: Custom Panel class: package it.creativesource { import flash.events.MouseEvent; import mx.containers.Panel; import mx.controls.Button; [Event(name="titleBtnClick", type="flash.events.MouseEvent")] public class CustomPanel extends Panel { private var _titleBtn:Button=new Button(); public var xTitleBtn:int; private var _showTitleBtn:Boolean=false; public function CustomPanel(){ su..
Setting the border alpha on a Panel container in Flex Application { backgroundColor: red; backgroundGradientColors: red, black; }
Setting the background alpha on a Panel container in Flex Application { backgroundColor: red; backgroundGradientColors: red, black; }