Jump to content
Search Community

Tweenmax Video Tween Bug...Help

johnblaze test
Moderator Tag

Recommended Posts

I currently have a movie clip on my stage called light, within that movieclip I have a looping video effect...the video loop in the mc is 201 frames, which loops perfectly.

 

I have a TweenMax code on my main stage which makes the looping video play for 5 seconds and loop, the code I have is as followed:

----------

import com.greensock.*;

import com.greensock.easing.*;

 

TweenMax.to(light, 5, {frame:201, ease:Linear.easeNone, repeat:-1});

----------

Now the video and tween code work perfectly when I test the movie in flash but when I play the movie in a browser there is a twitch which I believe happens when it gets to the end of the video....Can anyone help me with this or give me some advice...please keep in mind I am not an expert coder and I am new to Greensock tweening codes.

 

Note: The code I am using above was originally from an AS3 project and I am currently using it in this AS2 project...Can that be the issue? if so can you tell me what the correct AS2 code would be for this looping timing effect...thanks

 

John :cry:

Link to comment
Share on other sites

looks good to me, can you post a file that only exhibits this behavior?

 

if not I would suggest making the duration much faster and slower and see if you get the twitch consistently or can detect exactly what frames if any are being dropped.

Link to comment
Share on other sites

Here is a link to view the video....you can see the twitch during the video loop. I tried making it faster and slower but still get the same. Odd because when I test it in flash the movie plays fine. Any idea???

 

 

thanks

 

j

Link to comment
Share on other sites

i see the twitch. it actually looks like it is slowing down / stuttering.

 

if it is working fine in Flash it really shouldn't change in the browser... if anything it should run better.

 

is the 5 second duration you have on the tween drastically different then the normal playback time of the video?

 

 

without seeing the files, don't know what it could be.

Link to comment
Share on other sites

Hi Carl....thanks for the feedback, I actually figured out what was wrong with the file...I was going to send you the file so I isolated the video and placed it on a seperate fla and tested it and it worked fine so I decided to do a process of elimination to figure out what was making the glitch to the video. After removing all or most of the graphics from my original file I found that the issue was my background graphics...more specific it was a graphic which I had in the background that had a blur filter added to it....once I removed the flash blur filter the video played perfectly again. Its very odd but I have noticed in the past that when using the flash blur filter that it does make it stall during tweens animations and so on...so I had to remove the blurred grphic that I had...

 

thanks for the feedback.

 

Johnny

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...