[Tweener] onComplete problems with ColorShortcuts

Gerry Creighton gerry at thespikeranch.com
Sun Oct 26 12:00:41 PDT 2008


I tested this and it worked for me. You can see a sample here:
http://www.thespikeranch.com/test/onCompleteTest/

You can download the src here:
http://www.thespikeranch.com/test/onCompleteTest/onCompleteTest/onCompTest.zip


Hope that helps,

-Gerry

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

The Spike Ranch
Web Design and Development
http://www.thespikeranch.com

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::





On Oct 26, 2008, at 12:38 PM, Graeme Blackwood wrote:

> Well, I am using Flash player 10 in Firefox, Flash player 9 in  
> Internet Explorer, and Flash player 9 standalone that comes with  
> Flash CS3, and they are all consistently the same - the function  
> just isn't called if I try it outside of Flash itself, even in the  
> standalone player.  The function is called fine if I am using the  
> basic tweener options, e.g. alpha or _x.  The problem comes when I  
> try and use _tintBrightness.  My code looks like this:
>
> import caurina.transitions.properties.ColorShortcuts;
> ColorShortcuts.init();
>
> import caurina.transitions.properties.DisplayShortcuts;
> DisplayShortcuts.init();
> Tweener.addTween(slideContainer_mc, {_tintBrightness:1, time:1,  
> transition:"easeIn", onComplete:loadSlide});
> Really strange...
>
> G
>
> From: Zeh Fernando
> Sent: Sunday, October 26, 2008 2:22 PM
> To: tweener at lists.caurinauebi.com
> Subject: Re: [Tweener] onComplete problems with ColorShortcuts
>
> I've never seen anything like this. My first suggestions is to check  
> whether the correct SWF and Flash Player versions are being used on  
> the browser.
>
> Zeh
>
> On Sun, Oct 26, 2008 at 9:22 AM, Graeme Blackwood <grayhammy at hotmail.com 
> > wrote:
> Hi,
>
> I am using onComplete to call a function when I complete a  
> tintBrightness tween on a movieclip.  The function is called fine  
> when I preview in Flash CS3, but as soon as I try to use the movie  
> outside Flash, e.g. embedded in HTML, or in the Flash standalone  
> player, it doesn't call it.
>
> Is this something anyone else has found?
>
> Thanks,
>
> Graeme
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
>
>
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20081026/4f8e4f59/attachment-0001.htm>


More information about the Tweener mailing list