[Tweener] not exactly the tweener problem
Cedric Muller
flashcoder at benga.li
Tue Oct 28 07:24:46 PDT 2008
Hola!
what if you did:
Tweener.addTween(mc, {alpha:1, time:0.5*speed,
onComplete:myOnComplete});
public function myOnComplete ():void {
trace("is this never shown ??");
}
hth,
cedric
> sorry to bother everyone, tween was cancelled at other place.
>
> On Tue, Oct 28, 2008 at 4:00 PM, Makc <makc.the.great at gmail.com>
> wrote:
>> I have a movie clip with stuff in fla exported to swc, and then this
>> swc is used as library in flashdevelop where I make instances of this
>> clip and use tweener to tween alpha of this movie clip.
>>
>> the code looks like this:
>>
>> trace ("this is always shown with correct non-null mc: " + mc);
>> Tweener.addTween (mc, { alpha: 1, time: 0.5*speed,
>> onComplete:function():void{trace ("this is never shown");} });
>>
>> I get this thing working in like 5% of test runs. What could possibly
>> be the reason?
>>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
More information about the Tweener
mailing list