alflasy Posted November 9, 2011 Share Posted November 9, 2011 Hi I have made a animation sequence with TimelineLite. Now I want to add sound to that animation which may need some sync. Can someone guide me how I can attach sound to timelineLite. Thanks Link to comment Share on other sites More sharing options...
GreenSock Posted November 9, 2011 Share Posted November 9, 2011 You could certainly start/stop sounds at particular spots in a TimelineLite using callbacks, but it isn't really possible to perfectly synchronize audio with scripted animation. Remember, TimelineLite has a timeScale property that can be easily altered, so let's say you set it to 0.5 - your audio would have to play at half-speed (that'd sound pretty weird). And what if the TimelineLite was reversed? Doh! See the challenge? Flash doesn't have good tools for that sort of thing. But again, if you're just looking to start/stop audio at specific spots, use the addCallback() method of TimelineMax. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now