Hi Christophe,

Thanks for your reply. I'll surely take your advise on cloning/merging
Effect.Puff with Effect.Grow and Effect.Scale :D

As for your question, I may need the Puff-ed element re-appear again
from the last place it was dissappearing. But, that'll be in the long
run.

Thanks again.

Cheers,
Darkmatter

Christophe Porteneuve wrote:
> ......
> At any rate, you can control the scaling the same way you control it in
> Effect.Scale (as Puff is a synchronized execution of Scale and Opacity):
>  through the options scaleX, scaleY and scaleFromCenter.
>
> If you look for a specific direction, you might want to clone the
> Effect.Puff code and make it use Effect.Grow internally, instead of
> Effect.Scale.  Effect.Grow provides a 'direction' option that supports
> four diagonal directions + 'center'.
>
> But before you embark on all this, ask yourself: do you *really* need to
> control puff direction?  Its default mode (scale from center) is pretty
> good for just about all needs.  We're talking about an element that
> won't even be /visible/ in the end, and usually puffs out over a short
> period of time (default duration is 1.0 sec., for instance).
> ......


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to