RE: [flexcoders] Effects on state change?

2005-12-05 Thread David Mendels
Title: Re: [flexcoders] Effects on state change?





Hi,
 
Agreed.
 
There is a beautiful new feature in the next drop of the 
product for this. (Expected in Jan.)
 
-David

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Ralf 
  RottmannSent: Monday, December 05, 2005 7:42 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Effects on 
  state change?
  
  I think it would be a good idea to have state transition 
  effects... . How do I manually trigger e.g. the standard Fade 
  effect?RegardsRR--mobile: 
  +49-(0)170-914-5495email:   
  [EMAIL PROTECTED]-Original 
  Message-From: flexcoders@yahoogroups.com 
  To: flexcoders@yahoogroups.com 
  Sent: Mon Dec 05 13:21:56 
  2005Subject: RE: [flexcoders] Effects on state change?Currently 
  not.You could register for the 
  currentStateChanged/currentStateChangingevents and then trigger those 
  effects on a per-instance basis byyourself.Check the Flex 2 Store 
  sample, I'm pretty sure they did it the same 
  waythere.Dirk.    
  From: flexcoders@yahoogroups.com[mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Ralf Rottmann    Sent: 
  Monday, December 05, 2005 8:35 
  AM    To: 
  Flexcoders@yahoogroups.com    
  Subject: [flexcoders] Effects on state 
  change?  
  It's understood that effects defined via the showEffectsattribute get 
  active if visible becomes 
  true.   
  How about components and controls which "become visible" 
  through in an ? Is there an easy way of 
  assigning ashow/hide effect to different states (Flex 2.0 
  Alpha)?   
  Regards    
  REGARDS    
  RR    
  --    MOBILE: 
  +49-(0)170-914-5495    
  EMAIL:   
  [EMAIL PROTECTED] 
  --    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 
  developmentsite+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
     Computer 
  softwaredevelopmentb+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>   
  Software design 
  anddevelopmentWeb+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
    
  Macromedia 
  flexdevelopment&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>  
     Software development 
  bestpracticew1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  
         
  YAHOO! GROUPS LINKS    
      
      
  *    Visit your group 
  "flexcoders<http://groups.yahoo.com/group/flexcoders> 
  " on the web.    
      
   
  *    To unsubscribe from this group, 
  send an email to:    
   
  [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>    
      
   
  *    Your use of Yahoo! Groups is 
  subject to the Yahoo!Terms of Service <http://docs.yahoo.com/info/terms/> 
  . 
  Yahoo! Groups Sponsor ~-->Get Bzzzy! (real tools to 
  help you find a job). Welcome to the Sweet Life.http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM~->--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links<*> To visit your group on the web, go 
  to:    http://groups.yahoo.com/group/flexcoders/<*> 
  To unsubscribe from this group, send an email to:    
  [EMAIL PROTECTED]<*> Your use of Yahoo! 
  Groups is subject to:    http://docs.yahoo.com/info/terms/





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  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] Effects on state change?

2005-12-05 Thread Dirk Eismann
To programmatically play an Effect you have to create an Effect
instance, configure it, point it to a target and play it. E.g.

private function fadeOut(target:UIComponent):Void
{
  var fadeEffect:Fade = new Fade();
  fadeEffect.target = target;
  fadeEffect.alphafrom = 1;
  fadeEffect.alphaTo = 0;
  fadeEffect.playEffect();
}

FYI: Transition effects will available in the final product, see this
related post:
http://www.andersblog.com/archives/2005/11/flex_friday_dem.html


Cheers,
Dirk.



From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann
Sent: Monday, December 05, 2005 1:42 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Effects on state change?



I think it would be a good idea to have state transition
effects... . How do I manually trigger e.g. the standard Fade effect?


Regards
RR
--
mobile: +49-(0)170-914-5495
email:   [EMAIL PROTECTED]




-Original Message-
From: flexcoders@yahoogroups.com 
To: flexcoders@yahoogroups.com 
Sent: Mon Dec 05 13:21:56 2005
Subject: RE: [flexcoders] Effects on state change?

Currently not.

You could register for the
currentStateChanged/currentStateChanging
events and then trigger those effects on a per-instance basis by
yourself.

Check the Flex 2 Store sample, I'm pretty sure they did it the
same way
there.

Dirk.




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann
Sent: Monday, December 05, 2005 8:35 AM
To: Flexcoders@yahoogroups.com
Subject: [flexcoders] Effects on state change?
   
   

It's understood that effects defined via the showEffects
attribute get active if visible becomes true.
   
How about components and controls which "become visible"
through
 in an ? Is there an easy way of
assigning a
show/hide effect to different states (Flex 2.0 Alpha)?
   
Regards
REGARDS
RR
--
MOBILE: +49-(0)170-914-5495
EMAIL:   [EMAIL PROTECTED]
   
   
   



--
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

<http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+

site+design+development&w2=Computer+software+development&w3=Software+des

ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer
software
development

<http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We

b+site+design+development&w2=Computer+software+development&w3=Software+d

esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>   Software design
and
development

<http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=

Web+site+design+development&w2=Computer+software+development&w3=Software

+design+and+development&w4=Macromedia+flex&w5=Software+development+best+
practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
Macromedia flex

<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+

development&w2=Computer+software+development&w3=Software+design+and+deve

lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
66&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development
best
practice

<http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&;

w1=Web+site+design+development&w2=Computer+software+development&w3=Softw

are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> 




Re: [flexcoders] Effects on state change?

2005-12-05 Thread Ralf Rottmann
Title: Re: [flexcoders] Effects on state change?








I think it would be a good idea to have state transition effects... . How do I manually trigger e.g. the standard Fade effect?


Regards
RR
--
mobile: +49-(0)170-914-5495
email:   [EMAIL PROTECTED]




-Original Message-
From: flexcoders@yahoogroups.com 
To: flexcoders@yahoogroups.com 
Sent: Mon Dec 05 13:21:56 2005
Subject: RE: [flexcoders] Effects on state change?

Currently not.

You could register for the currentStateChanged/currentStateChanging
events and then trigger those effects on a per-instance basis by
yourself.

Check the Flex 2 Store sample, I'm pretty sure they did it the same way
there.

Dirk.




    From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann
    Sent: Monday, December 05, 2005 8:35 AM
    To: Flexcoders@yahoogroups.com
    Subject: [flexcoders] Effects on state change?
   
   

    It's understood that effects defined via the showEffects
attribute get active if visible becomes true.
   
    How about components and controls which "become visible" through
 in an ? Is there an easy way of assigning a
show/hide effect to different states (Flex 2.0 Alpha)?
   
    Regards
    REGARDS
    RR
    --
    MOBILE: +49-(0)170-914-5495
    EMAIL:   [EMAIL PROTECTED]
   
   
   



    --
    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

site+design+development&w2=Computer+software+development&w3=Software+des
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>     Computer software
development

b+site+design+development&w2=Computer+software+development&w3=Software+d
esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>   Software design and
development

Web+site+design+development&w2=Computer+software+development&w3=Software
+design+and+development&w4=Macromedia+flex&w5=Software+development+best+
practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>    
    Macromedia flex

development&w2=Computer+software+development&w3=Software+design+and+deve
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
66&.sig=OO6nPIrz7_EpZI36cYzBjw>     Software development best
practice

w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>     



    YAHOO! GROUPS LINKS


            *    Visit your group "flexcoders
<http://groups.yahoo.com/group/flexcoders> " on the web.
         
    *    To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
         
    *    Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service <http://docs.yahoo.com/info/terms/> .







 Yahoo! Groups Sponsor ~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~->

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/












--
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] Effects on state change?

2005-12-05 Thread Dirk Eismann
Currently not.
 
You could register for the currentStateChanged/currentStateChanging
events and then trigger those effects on a per-instance basis by
yourself.

Check the Flex 2 Store sample, I'm pretty sure they did it the same way
there.

Dirk.




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann
Sent: Monday, December 05, 2005 8:35 AM
To: Flexcoders@yahoogroups.com
Subject: [flexcoders] Effects on state change?



It's understood that effects defined via the showEffects
attribute get active if visible becomes true.

How about components and controls which "become visible" through
 in an ? Is there an easy way of assigning a
show/hide effect to different states (Flex 2.0 Alpha)?

Regards
REGARDS
RR
--
MOBILE: +49-(0)170-914-5495
EMAIL:   [EMAIL PROTECTED]






--
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  . 







 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/