Appcelerator-Q-A-banner

Community Questions & Answers

Multiple rotates of view with animation

Hi, I'm trying to rotate an ImageView using an animation. After first rotation I want to rotate it again. E.g.: 1. rotate by 90 degrees -> make view rotate from 0 to 90 degrees 2. rotate by another 90 degrees -> make view rotate from 90 to 180...

Draggable menu (view)

Hi, I have a view (a menu) at left:0, top:0. I want to drag it only horizontally, but it should NEVER go over its width (when dragging right) and it should never go too much left (-menu.width). Moreover, when I drag this view left, if the view is more...

Which value for setting an endless animation?

- Application type: Alloy mobile for Android - Titanium SDK: 3.5.1.GA - Platform & version: Android - Device: real S3 Andr. 4.3 and Genymotion API 10 - Host Operating System: Win x64 - Titanium Studio: Titanium Studio, build: 3.4.1.201410281727 HI...

How to animate Images like GIF's

How to animate Images like GIF's Hello, I'm new to Titanium mobile. I would like to know how to animate Images like GIF's. ex: image1.png image2.png image3.png image4.png on click a button animation start for a duration of 2 sec Thank you for your help!

Animation options

Hi, I am building a multi-platform (iOS, Android) app using Titanium to complement a website. On the website I allow my users to drag and drop images onto a canvas, create a layer, move the images around and once they are done animate those the...

ImageView repeatCount bug?

I have an animation that works except when the repeatCount is set to any value above 1 - which makes the animation loop indefinitely. ~~~ var imageView = Titanium.UI.createImageView({ images:images, duration:100, // in milliseconds, the time before next...

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...

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