4,328
社区成员
发帖
与我相关
我的任务
分享
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="820" height="593" dropShadowVisible="true" contentBackgroundAlpha="0.0" backgroundAlpha="0.0" borderAlpha="0.0"
>
<mx:states>
<!-- Define the new view states. -->
<s:State name="default"/>
<s:State name="State1"/>
</mx:states>
<mx:transitions>
<s:Transition fromState="*" toState="*">
<s:Sequence id="t1" targets="{[Panel_two,video]}">
<mx:Blur id="myBlur" duration="100" blurXFrom="0.0"
blurXTo="10.0" blurYFrom="0.0" blurYTo="10.0"/>
<s:Parallel>
<s:Move duration="400"/>
<s:Resize duration="400"/>
</s:Parallel>
<mx:Blur id="myUnBlur" duration="100" blurXFrom="10.0"
blurXTo="0.0" blurYFrom="10.0" blurYTo="0.0"/>
</s:Sequence>
</s:Transition>
</mx:transitions>
<fx:Declarations>
<!-- 将非可视元素(例如服务、值对象)放在此处 -->
<!-- Define custom colors for use as pie wedge fills. -->
<mx:SolidColor id="sc1_Pie" color="blue" alpha=".6"/>
<mx:SolidColor id="sc2_Pie" color="red" alpha=".6"/>
<mx:SolidColor id="sc3_Pie" color="green" alpha=".6"/>
<!-- This Stroke is used for the callout lines. -->
<mx:SolidColorStroke id="callouts" weight="2" color="0x999999" alpha=".8" caps="square"/>
<!-- This Stroke is used to separate the wedges in the pie. -->
<mx:SolidColorStroke id="radial" weight="1" color="0xFFFFCC" alpha=".3"/>
<!-- This Stroke is used for the outer border of the pie. -->
<mx:SolidColorStroke id="pieborder" color="0x000000" weight="2" alpha=".5"/>
<mx:Dissolve id="dissolveOut" duration="2000" alphaFrom="1.0" alphaTo="0.0"/>
<mx:Dissolve id="dissolveIn" duration="2000" alphaFrom="0.0" alphaTo="1.0"/>
</fx:Declarations>
<mx:Label text="基本情况" x="6" y="16" fontFamily="中易宋体" id="lab" color="#959191" fontWeight="bold" x.default="3" y.default="23" hideEffect="{dissolveOut}" showEffect="{dissolveIn}" x.State1="3" y.State1="23">
</mx:Label>
<mx:HRule x="60" y="30" width="723" includeIn="default"/>
<s:Panel id="Panel_one" click="currentState='default'" backgroundAlpha="0.0" title="XXXX公司概况" fontFamily="中易宋体" color="#FFFFFF" chromeColor="#2E2E2E" borderVisible="false" borderAlpha="0.0" hideEffect="{dissolveOut}" showEffect="{dissolveIn}" fontSize.State1="6" x.default="6" left.State1="562" horizontalCenter.State1="263" right.State1="36" y.default="45" top.State1="43" verticalCenter.State1="-159" height.default="490" bottom.State1="360" width.default="531">
<s:BorderContainer height="413" y="35" width="499" x="6" id="picture" borderVisible="false" backgroundAlpha="0.0" contentBackgroundAlpha="0.0" width.State1="206" height.State1="127" y.State1="22" x.State1="6">
<mx:Image id="scene1_1_picture" source="com/nari/smartgrid/client/images/21.png" width="490" height="418" x="0" y="-4" hideEffect="{dissolveOut}" showEffect="{dissolveIn}" width.State1="206" height.State1="131">
</mx:Image>
</s:BorderContainer>
<mx:RadioButton groupName="cardtype" id="information" label="基本情况" value="frist" width="87" selected="true" x="18" y="3" chromeColor="#FFFFFF" fontSize="15" color="#FFFFFF" fontSize.State1="6" width.State1="42"/>
<mx:RadioButton groupName="cardtype" id="struct" label="XX结构" value="second" width="91" x="101" y="3" chromeColor="#FFFFFF" fontSize="15" color="#FFFFFF" fontSize.State1="6" x.State1="68" y.State1="3" width.State1="55"/>
<mx:ComboBox x="330" y="0" id="comBoxList" editable="false" rollOverColor="#FAF5F5" chromeColor="#07ADFA" x.default="356" y.default="0.05" width.State1="65" x.State1="155" y.State1="0" height.State1="14"/>
</s:Panel>
<s:Panel id="Panel_two" click="currentState='State1'" title="宣传片" fontFamily="中易宋体" fontSize="12" fontWeight="normal" chromeColor="#2E2E2E" color="#FFFFFF" borderVisible="false" borderAlpha="0.0" backgroundAlpha="0.0" fontStyle="normal" contentBackgroundAlpha="1.0" hideEffect="{dissolveOut}" showEffect="{dissolveIn}" width.State1="513" left.default="562" horizontalCenter.default="263" x.State1="6" right.default="36" height.State1="490" top.default="43" verticalCenter.default="-159" y.State1="45" bottom.default="360" fontSize.default="6">
<s:VideoDisplay id="video" autoPlay="true" source="video/XXX.flv" width="202" height="139" y="10" x="10" width.State1="440" height.State1="420" x.default="7" y.default="6" x.State1="10" y.State1="10">
</s:VideoDisplay>
</s:Panel>
<mx:HRule x="527" y="284" width="272" includeIn="default" hideEffect="{dissolveOut}" showEffect="{dissolveIn}"/>
<mx:HRule x="60" y="30" width="723" includeIn="State1"/>
<mx:HRule x="527" y="284" width="272" hideEffect="{dissolveOut}" showEffect="{dissolveIn}" includeIn="State1"/>
</mx:Module>[