프로그래머의 삶 Programmer's Life/Flex3.0

Grow Effect - 책에 있던거...나름 신선하더라...이용하기에 좋은 ㅋ

Oliver's World 2008. 11. 3. 17:45
728x90
<?xml version="1.0" ENCODING="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
 <mx:Glow id="glow" duration="1000" alphaFrom="1.0" alphaTo="0.3"
 blurXFrom="0.0" blurXTo="50.0" blurYFrom="0.0" blurYTo="50.0" color="0x00FF00"/>
 <mx:Glow id="unglow" duration="1000" alphaFrom="0.3" alphaTo="1.0"
 blurXFrom="50.0"  blurXTo="0.0" blurYFrom="50.0" blurYTo="0.0" color="0x00FF00"/>
 <mx:Panel width="100%" height="100%" layout="vertical" title="가입">
  <mx:Form width="100%" height="100%" >
   <mx:FormItem label="이름">
    <mx:TextInput focusInEffect="glow" focusOutEffect="unglow"/>
   </mx:FormItem>
   <mx:FormItem label="이메일">
    <mx:TextInput focusInEffect="glow" focusOutEffect="unglow"/>
   </mx:FormItem>
   <mx:FormItem label="주소">
    <mx:TextInput focusInEffect="glow" focusOutEffect="unglow"/>
   </mx:FormItem>
  </mx:Form>
 </mx:Panel>
 
</mx:Application>
728x90