StevenW
%Europe/Berlin %972 %2007, 23:20
Ik probeer een panel 'in te faden'. Maar de tekst en button in de panel en de titel van de panel 'faden niet in'.
<mx:Fade id="fadeIn" duration="5000" alphaFrom="0" alphaTo="1"/>
<mx:Panel creationCompleteEffect="fadeIn" width="362" height="260" layout="absolute" horizontalCenter="0.5" verticalCenter="0.5" title="Login" color="#ffffff">
<mx:TextInput x="69.5" y="127" width="203" color="#000000" id="tf_name" textAlign="center" themeColor="#ffcc00"/>
<mx:Label y="100" text="Type your user name:" textAlign="center" color="#800000" fontWeight="bold" horizontalCenter="1" width="236"/>
<mx:Label x="10" y="197" textAlign="center" color="#ff0000" fontWeight="bold" width="322" id="lb_errorMsg"/>
<mx:Button x="124.5" y="169" label="Enter" width="93" color="#333333" id="bt_enter" click="bt_enter_click()" themeColor="#ffcc00"/>
<mx:Image x="138" y="18" source="images/foxey.png"/>
</mx:Panel>
Moet ik alles in de panel een creationCompleteEffect geven, of doe ik iets fout? Ik dacht namelijk dat de inhoud ook zou mee faden.
<mx:Fade id="fadeIn" duration="5000" alphaFrom="0" alphaTo="1"/>
<mx:Panel creationCompleteEffect="fadeIn" width="362" height="260" layout="absolute" horizontalCenter="0.5" verticalCenter="0.5" title="Login" color="#ffffff">
<mx:TextInput x="69.5" y="127" width="203" color="#000000" id="tf_name" textAlign="center" themeColor="#ffcc00"/>
<mx:Label y="100" text="Type your user name:" textAlign="center" color="#800000" fontWeight="bold" horizontalCenter="1" width="236"/>
<mx:Label x="10" y="197" textAlign="center" color="#ff0000" fontWeight="bold" width="322" id="lb_errorMsg"/>
<mx:Button x="124.5" y="169" label="Enter" width="93" color="#333333" id="bt_enter" click="bt_enter_click()" themeColor="#ffcc00"/>
<mx:Image x="138" y="18" source="images/foxey.png"/>
</mx:Panel>
Moet ik alles in de panel een creationCompleteEffect geven, of doe ik iets fout? Ik dacht namelijk dat de inhoud ook zou mee faden.