Hi,

I have two questions about animations :

- How do I perform an infinite animation ?

If I do in my Animation class :

                @Override
                protected void onComplete() {
                        super.onComplete();
                        run(10000);
                }

... that does'nt work and my browser crash.


- How do I perform a soft animation, and not a sacade animation ?

I do :

                @Override
                protected void onUpdate(double progress)
                {
                        int defwidth;
                        
                        defwidth = widget.getOffsetWidth();
                        widget.setWidgetPosition(
                                        image,
                                        (int) (defwidth - (defwidth * 
progress)),
                                        10);
                }


Thanks.

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to