How to use effects?

I have a button in my menu screen which takes me to another screen, how can I add effects to that button? specifically the moveFromRight and moveFromLeft effects [import]uid: 30766 topic_id: 13858 reply_id: 313858[/import]

do you use director class? [import]uid: 70635 topic_id: 13858 reply_id: 50928[/import]

yes, I saw something about using the effects on my director.lua file but I don’t really get it [import]uid: 30766 topic_id: 13858 reply_id: 50931[/import]

http://developer.anscamobile.com/forum/2011/08/09/playing-transitions [import]uid: 70635 topic_id: 13858 reply_id: 50968[/import]