Community Questions & Answers

How to stop an animation ?

Hello ! I have a problem with my animation. I've searched on the Internet, but I can't solve my problem. I have an application (actually for Android), like Flappy Bird, and I animate my background. This is the code for the animation : ~~~ var t1 =...

Can't move label in Android

Based on some question found on this site I've made this simple autoscrolling label. ~~~ self.title = Ti.UI.createLabel({ text : namtitle, color : main.theme.color.distbg, top : 0, left : Util.getDimension(20), height : Util.getDimension(58), font :...

Is there a nice visual animation tool for Ti?

Anyone come across an animation tool for Ti that lets you visually create your animations with nice smooth curves, paths etc. that can then be exported as Ti JS code and pasted right into your project to animate the views, images etc.? IMHO nice...

Swipe tile touch move up/down

Thanks Harish for your help. it working. And if we want edit like: 1. Row first it hieght 200 and other 100. 2. When user move up it will do animate on row 1st to top and animate the same time on row 2nd and other. but on row 2nd it animate move to the...

Use animation to hide and show view

Hello everybody, I try to use animate to hide and show view. the problem is that I can't resize the view to his original height. this is my code: ~~~ '$.branchDetailsView.addEventListener('click', function(e) { if (branchDetailsOpen == false)...

info animation (can I do this with Titanium?)

Hi, I like some of the animations in this app: http://www.peekcalendar.com/ (see video, eg around sec. 00:06). Is there any possibility to do this with Titanium? Could you eventually tell me how? Any code example?

Scrollview scroll animation row

Hi everyone, i have one problem relate on ScrollView children. It about - when user scrolling Down/Up make animation height on children 1st to small and while doing animation on children 1st it will do animation hight on children 2nd to big. Any idea?...

Animating views in ListView Items

I have some labels and a button in my ListItem that I would like to move with animation when the item is selected. I can work out how to move them a per below, but not how to animate. ~~~ function itemSelected(e) { var item =...

Animating a view on iPhone not working

I'm implementing a simple view that "slides up" when a button is clicked. On Android it's working perfectly however iOS (testing on iOS simulator) is not animating at all, including the "warn" from the callback function is not being...

Animating row height changes

Hi, I'm trying to add a nice animation to my row. When the user clicks on the row I want it to increase in height to show some extra buttons. I've tried to add an animation to allow the row to increase in height slowly, but when the row is pressed nothing...

Implementing a flipcard?

I'm trying to build a flipcard animation: Flipping from first to the second one works: ~~~ users_view.animate({view:profile_view,transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT}); ~~~ but when I try to do it in...

Reverse window.open() animation on close

This might be a dumb question, so forgive me in advance :) When using an animation to open a window, is there a way to reverse that animation when it closes? Example, let's say you open a window as such: ~~~ win.open({ transition:...

Move view without animation

With this code I move a view from a point to another one animating it: ~~~ var m = Ti.UI.create2DMatrix(); m = m.translate(0, 175); var a = Ti.UI.createAnimation(); a.transform = m; a.duration = 300; myView.animate(a); ~~~ Now, I want to do a different...

Stop animation

Hello I am trying to stop an animation. I looked into kitchensink app how they do it, but it doesn't seem to work for me. I use the following code: ~~~ var a = Titanium.UI.createAnimation(); a.top = 400; a.left = 0; a.duration = 5000; flag.animate(a,...

Showing 1-50 of 875 1 2 3 4 5 618