Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (complete)
Browsing latest articles
Browse All 20 View Live

Retrieve an event's triggering source if more than one object can trigger...

I have a loop that generates views dynamically and use animation to show them and when the animation completes ('complete' event), I want to remove the views from the window. One way I tried is to...

View Article



AudioPlayer complete event?

Is there no "complete" event for Titanium.Media.AudioPlayer? I don't see one and after seeing Titanium.Media.Sound has one, i tried adding a listener for "complete" but to no avail. I find it strange...

View Article

videoPlayer timeout?

I've encountered some strange behavior with the videoplayer on iPhone. So, I'm playing a video that is hosted remotely on our servers. I've noticed that if network reception is low on the device, the...

View Article

videoPlayer 'complete' event does not differentiate?

Hey all! I am trying to get a video window to call a function if it completes on its own, but not if the user stops the video. my code looks like...

View Article

Adding annotation to mapview makes the application crash

I'm currently working on an application where we need to show a location using Google maps. We have an if statement that does a Geocoder lookup if we don't have latitude and longitude and if we do have...

View Article


How to make sure code is executed after the animation of a tableView row update?

Hey Y'all, I have a feeling that some code may be executing parallel to animations playing, so I wanna make sure that it occurs after the animation and this is what I have tried to use so far......

View Article

createImageView complete event not fireing

Hi, i am trying to make a timer with a countdown clock. So far so good, i does work but I can't make the complete event fire once the images of the clock counting down is done. var imgs=[]; for (var...

View Article

Ten-Twenty is in the App Store!

Just wanted to thank everyone on here that helped along the way. It was a great journey. Appcelerator is the greatest. Would love for you to check it out and leave some feedback. It's free for the...

View Article


Why is my EventListener called more than once after 'complete' of an animation?

Hi guys, I have a very strange problem. I have a constantly rotating imageView (see code below). Now, after this function is called once during the creation of the window ('adding animation' is showing...

View Article


How to listen for the actual tableView scrollEnd event?

Hi guys, I've added the scroll and scrollEnd events but... When I swipe my tableView, the "scrollEnd" event is fired when I let go of my mouse click(in simulator) instead of when the tableView scrolls...

View Article

How to nest animations without the [Debug] layout error?

If I use the addListener 'complete' method on an animation, and try to invoke another animation in the function after 'complete', I get the "[Debug] debug ignoring new layout while animating in layout...

View Article

What is the right code for nesting animations? Documentation example is wrong

This code from this page is wrong: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Animation-object var view = Titanium.UI.createView({ backgroundColor:'red' }); var animation =...

View Article

Issues with createSound() and its events on iOS

I am currently building a spelling app on iOS, in which children have to place characters in the right order in order to spell the words. This works ok, yet at the end, I would like to re-spell the...

View Article


Create a chain of videos

What I am trying to do is create a chain of video's. So if one video is finished automatically another one is started. I have the following code:var video2 = Titanium.Media.createVideoPlayer({...

View Article

Syntax issue with .animate options

I have to begin by saying that in the short time I've been using this product, I am VERY impressed. Keep up the good work. My questions is a bit stupid, related to syntax, but I can't find an example...

View Article


Is there a way to check for completion of the loading of the Images of an...

I am using a CoverFlowView with remote Images in my App, which works fine. As i wanted to add an "busy" indicator, I wanted to check when the Images have been loaded into the CoverFlowView, but could...

View Article

Animate Spring Effect

I am trying to produce a spring/bouncing effect and the TI animations aren't playing nicely with me. Normally, you could create a function based upon time, but since TI doesn't have that, I am trying...

View Article


'complete' event not firing when hitting 'done'

I have a video and when I hit the done button, the complete event isnt firing:var win = Titanium.UI.currentWindow; var video = win.video;   var activeMovie = Titanium.Media.createVideoPlayer({...

View Article

sound release kills eventListener

Hi, i have a program that will play 12 different local sound files trough the program. The ending of each sound will trigger a following function. To do this I use Titanium.Media.createSound(); since...

View Article

sound.release() problem with sound complete event listener for sound in an array

In trying to solve the issue http://developer.appcelerator.com/question/140242/audioflinger-34-no-more-track-names-available I tried to add free the sound resource each and every time it's used and...

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images