remove that showEffect property to label On Wed, Jul 29, 2009 at 12:20 PM, sankar swaroop<sankaras...@gmail.com> wrote: > Hi Preetham, > > U cannot use hhowEffect property here b'cas u want to effect to add > effect when u make it visible. > u will fire some event to make the label visible. so there u make the > effect added like > > <mx:Fade id="fadeIn" duration="2000" alphaFrom="0.0" alphaTo="1.0" > source="{nameLabel}"/> > > and in the event which u fire to make the label visible > > fadein.end(); > fadein.start(); > > add these two lines > > it works > > Thanks > > On Wed, Jul 29, 2009 at 1:50 AM, pratham<preethamheg...@gmail.com> wrote: >> >> Hi frnds, >> >> How to apply effect to label. >> I want to give fade effect to label. I have tried with following code, >> but it didnt work... any solutions? >> >> ------------------------------------------------------------------------------------ >> <mx:Fade id="fadeIn" duration="2000" alphaFrom="0.0" alphaTo="1.0"/ >>> >> >> <mx:Label >> id="nameLabel" >> styleName="statsLabel" >> color="#00976e" >> x="7" y="0" >> showEffect="fadeIn" >> >> visible="false" >> text="{user_name}" width="94"/ >>> >> -------------------------------------------------------------------------------- >> effect must be seen when i made visible="true", but it didn't !!!! >> >> >> -- >> Regards, >> Preetham Hegde >> >> >> >> >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---