RE: [flexcoders] how do I get the type or class of an object in AS3
Hello Hank, In heather TextArea and TextInput objects you have a property called ClassName that has your object type. Best regards, Nelson Batista From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: quinta-feira, 10 de Agosto de 2006 17:42 To: flexcoders@yahoogroups.com Subject: [flexcoders] how do I get the type or class of an object in AS3 I have an object that is either a TextArea or a TextInput. I want to find out which one it is. How do I do that? Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] ApplicationControlBar - highlightAlphas doesn't exist but I can still use it
Hello Jack, Im using both fillAphas and highlightAlphas, the first gives us the fill alpha for the fill colors of the component and the second one gives us a glossy effect (like an oval glass). Example: public function extrastyle():void{ myAppBar.setStyle('highlightAlphas',[0.5, 0.5]); } mx:ApplicationControlBar id=myAppBar fillColors=[#66, #cc] fillAlphas=[0.39, 0.7] Best, Nelson Batista From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack W. Caldwell @ Zingit Technologies, Inc. Sent: segunda-feira, 7 de Agosto de 2006 12:59 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ApplicationControlBar - highlightAlphas doesn't exist but I can still use it Nelson: I did not use the beta version, but . . . . was the highlightAlphas replaced with fillAlphas? Jack From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nelsoncostabatista Sent: Monday, August 07, 2006 6:36 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] ApplicationControlBar - highlightAlphas doesn't exist but I can still use it Hello all, I'm using an ApplicationControlBar and needed to use the style highlightAlphas, as I did with the beta versions. In the MXML code and in the documentation, this style doesn't exist, but if I set this style with Action Script I can still use it. Is this normal? Is this a compatibility feature with the Beta versions? Or is this a bug? The problem is that, in the design point of view I need this feature, but I don't know if this will be erased in the future. Best, Nelson Batista __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Transitions - How to apply movement to SetStyleAction(horizontalCenter proprety)
Hello Jason, Here is the code sample (the not working version, using the setStyleAction). Ive found out that the problem is related with the Fade Effect before the Move Effect. If you comment the Fade Effect it all works. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:states mx:State name=OpenState mx:SetStyle target={PanelRight} name=horizontalCenter value=130/ mx:SetStyle target={PanelLeft} name=horizontalCenter value=-117/ /mx:State /mx:states mx:transitions !-- Abertura de Painel de Logon -- mx:Transition id=openLoginPanel fromState=* toState=OpenState mx:Sequence mx:Parallel mx:Fade alphaFrom=0.4 alphaTo=1 target={PanelLeft}/ mx:Fade alphaFrom=0 alphaTo=1 target={PanelRight}/ /mx:Parallel mx:Parallel mx:Move duration=1000 target={PanelLeft} / mx:Move duration=1000 target={PanelRight} / /mx:Parallel mx:SetStyleAction relevantStyles=horizontalCenter filter=move target={PanelLeft}/ /mx:Sequence /mx:Transition /mx:transitions mx:Panel id=PanelRight width=294 height=148 horizontalCenter=-18 verticalCenter=0/ mx:Panel id=PanelLeft width=240 height=154 horizontalCenter=-46 verticalCenter=0 mx:Button label=Change State click=currentState = 'OpenState'/ /mx:Panel /mx:Application Best regrads, Nelson Batista Dep. Informática Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 307 746 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Szeto Sent: quarta-feira, 28 de Junho de 2006 22:51 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Transitions - How to apply movement to SetStyleAction(horizontalCenter proprety) Post some code so we can take a look. Jason From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nelson Batista Sent: Wednesday, June 28, 2006 8:55 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Transitions - How to apply movement to SetStyleAction(horizontalCenter proprety) Hello Jason, Ive tested in the final version of FLEX 2, and the bug still persist. Best regards, Nelson Batista Dep. Informática Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 307 746 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Szeto Sent: quinta-feira, 22 de Junho de 2006 22:12 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Transitions - How to apply movement to SetStyleAction(horizontalCenter proprety) This is a bug in Flex 2b3. Youll have to wait for the release to get the fix. Jason From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nelsoncostabatista Sent: Thursday, June 22, 2006 8:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Transitions How to apply movement to SetStyleAction(horizontalCenter proprety) Hello all, I'm defining a few states in my application and transitions between these states. In the beginning of the design development I was using the property x for a panel, and in the transition I defined: mx:Move easingFunction={Circular.easeOut} duration=1000 target={myDataPanel}/ And the movement between states run well. Now I need to change the property x for the style horizontalCenter, in order to get in my main application the correct placement of the panel. Now the panel movement doesn't work. I even forced the mx:SetStyleAction relevantStyles=horizontalCenter filter=move target={ myDataPanel }/ in my transition, but with no luck. Best regards, Nelson Batista __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files