Sebastian Sastre
2007-May-28 20:04 UTC
Can I instanciate anEffect and execute it N times later?
Hi there, I saw several Scriptaculous''s Effect examples and all of them makes the Effect instance at the time they want to apply to some page element. I need to make that in two phases, A) create instance of the effects associated to the affected elements and B) at any time execute the effect over the respective element. The executions of the effects will be dictated by events that will happen over other elements than the ones affected by the (preconfigured) effects. If I''m interpreting this well each effect (like Effect.Scale) is a constructor of anEffect instance and reading some in the code I did found a #start method in the effect object instance but I cant''t really say if every time I construct an effect for an element I will be forced to see it executed over the affected element or on the contrary it will wait until I send it #start as *should* be. I''ll appreciate some clarification on this regard, thanks, Sebastian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Apparently Analagous Threads
- [PATCH v2 4/15] pmu: instanciate the falcon in PMU device
- Best way to instanciate an empty address element in many nested fields_for
- [PATCH v2 3/6] drm/fb-helper: Instanciate shadow FB if configured in device's mode_config
- [PATCH v2 3/6] drm/fb-helper: Instanciate shadow FB if configured in device's mode_config
- [PATCH v2 3/6] drm/fb-helper: Instanciate shadow FB if configured in device's mode_config