[Tweener] onComplete problems with ColorShortcuts
Gerry Creighton
gerry at thespikeranch.com
Sun Oct 26 16:42:12 PDT 2008
Glad I could help.
I didn't mention it but I included the most recent caurina package.
Did you try updating that?
If you were having an issue with import statements you'd see it in the
output window when you compile your swf in Flash.
So I'd just update your caurina code base and see if that works.
What I included in that zip is the latest caurina package that I
downloaded from the google code page for Tweener.
Mine works so compare what you have with my example.
I normally use swfObject to embed my swf's but for that example I just
used the Adobe method. Is that how you are delivering
your html?
-Gerry
On Oct 26, 2008, at 7:01 PM, Graeme Blackwood wrote:
> Thanks so much for that Gerry,
>
> Well when I run yours, it works, and when I open the source in
> Flash, re export it, and run it, it works, but even if I match your
> settings and caurina importing and initialising (through a
> function), it still doesn't work outside of Flash. Is there a
> chance I am not packaging caurina correctly or something?
>
> Graeme
>
> From: Gerry Creighton
> Sent: Sunday, October 26, 2008 7:00 PM
> To: tweener at lists.caurinauebi.com
> Subject: Re: [Tweener] onComplete problems with ColorShortcuts
>
> 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
>
>
>
> _______________________________________________
> 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/f67c9873/attachment-0001.htm>
More information about the Tweener
mailing list