11-07-2010 06:01 PM - edited 11-07-2010 06:08 PM
import com.gskinner.GTween. Again BB SDK is not a special version of AIR, it is simply AIR 2.5 which runs the standard Flash runtime. QNX has added a few pure AS3 components, that's about it.
Forget about the mx transition **bleep**, they are just proxies for a true tween engine. You can tween any property of any display object..anything on the stage, flex or not, is just a display object at heart.
11-07-2010 06:29 PM
Thanks, I will give the 3rd party library a shot since effects are natively supported yet.
Not all of 2.5 is supported in the BB SDK. Maybe just the flash.* namespace, but not all components in the spark.* or mx.* namespace are supported. For example, spark.components.Button, will not compile, you have to use the qnx button control.
11-07-2010 07:52 PM
Spark button compiles fine over here using command line...
To answer the original question, Flash is not multithreaded so it can't emulate those Java API's, but you can use setTimeout(), setInterval() or Timer API's to do what you need.
Also, most tween libraries support a delay timer, so it might be easiest to just create all your animations at one, setting the delay's progressivley.