From: Ramesh P. <ra...@in...> - 2003-05-15 06:40:16
|
Once upon a time not very long ago, Raymond Irving wrote: >--- Ramesh Pallikara <ra...@in...> >wrote: > > >>hi, >> >>how do i use the swipe effect incrementally. >>by default i guess the the swipeTo will swipe the >>layer through its >>entire width or height. >>how can i make it stop halfway say 50% of its width >>or by a value by 100 >>???? >> >> > >Well, I guess we'll have to implement a swipeStop() > i really don't how useful the swipeStop() method can be if i need to swipe my layer through half its width and half it's height, which means only 1/4 of my layer would be visible, i would never know when to call swipeStop(). maybe we can have a swipeTo(width, height, dir steps, ms ) or have a dictionary object for this where u can specify in percent or pixel value something bit more controllable like dan's ol' wipeTo, wipeBy methods , >function and some events. Some time ago we had a >discussion on whether we should use individual event >names (such as onswipe,onfade, etc) or use common >event names (such as onanimstart, onanimstop, >onanimfinish). What do you think? > personally i would go for an eventname that is more specific to the component such as onswipestart, onswipestop. best regardz, ramesh pallikara -- QOTD: "I've always wanted to work in the Federal Mint. And then go on strike. To make less money." |