[Tweener] Weird loopingproblem...

Ernesto Quezada ernesto.quezada at gmail.com
Wed Aug 8 07:21:20 PDT 2007


I forgot to copy the rest of the list in my reply...

ok, I told Nicklas that I've got similar problems only when testing on
Internet Explorer either 6 or 7.
I've tested Niklas site using Firefox 2 on Win XP and works fine.

Do you guys mind to confirm?
is there any workaround on this one?

salut!


On 08/08/2007, Niklas Hallgren / Wide Circle <niklas at widecircle.se> wrote:
>
>  Hi there!
>
> I have a strange loopingproblem. I have two imgs that are beeing animated
> as a loop inside a mask.
>
> The thing is that this animation is falling apart when I visit another
> section of the site and then goes back to the section containing the
> animation.
>
> This is the code that I have for the loop (this code is located inside a
> MC):
>
>
>
> //-----Import Tweener Class---------\\
>
> import caurina.transitions.Tweener;
>
> //-----End Import Class-------------\\
>
>
>
> Tweener.addTween(imgContent1, {_x:imgContent1._x+287, time:0.5, delay:1.3,
> transition:"easeOutQuart"});
>
> Tweener.addTween(imgContent1, {_x:imgContent1._x+574, time:0.5, delay:12,
> transition:"easeOutQuart" });
>
> Tweener.addTween(imgContent1, {_x:imgContent1._x+0, delay:12.5,
> onComplete:looping});
>
>
>
> function looping():Void {
>
>
>
>     Tweener.addTween(imgContent2, {_x:imgContent2._x+287, time:0.5,
> transition:"easeOutQuart"});
>
>     Tweener.addTween(imgContent2, {_x:imgContent2._x+574, time:0.5,
> delay:14, transition:"easeOutQuart" });
>
>     Tweener.addTween(imgContent2, {_x:imgContent2._x+0, delay:15});
>
>
>
>     Tweener.addTween(imgContent1, {_x:imgContent1._x+287, time:0.5, delay:
> 14.5, transition:"easeOutQuart"});
>
>     Tweener.addTween(imgContent1, {_x:imgContent1._x+574, time:0.5,
> delay:27, transition:"easeOutQuart"});
>
>     Tweener.addTween(imgContent1, {_x:imgContent1._x+0, delay:27.5,
> onComplete:looping});
>
> }
>
>
>
> You guys can see what I mean here:
>
> http://widecircle.se/husan/hus.html
>
>
>
> Only the first two sections (HEM & TJÄNSTER) have content.
> The first time the site loads the animation to the left containing the
> imgs is just fine.
> But – if you visit TJÄNSTER & revisit HEM the timing of the animation of
> the imgs is completely off...
> I just don't understand why this is happening since the two sections are
> loading two diffferent external swfs.
> I had problems with the animated bkgs (brown and yellow rectangles) as
> well but solved that by giving them different instance names eventhough they
> are located in different swfs it solved the problem. It seems to me that
> somehow flash seems to "remember" previous animations eventhough different
> external swfs are beeing loaded with the different animations in them.
> The above code is located on frame 2 inside a MC. The animation is
> triggered with gotoAndPlay(2); and that in turn is located inside an _global
> function.
>
>
>
> Niklas Hallgren
>
> Wide Circle
>
> www.widecircle.se
>
>
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
>


-- 
http://overloadstudios.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20070808/d7be62af/attachment.html 


More information about the Tweener mailing list