Hi all
I have a project I need to complete with the aim of creating a flash presentation which interacts a lot like Prezi. I wanted to use TweenMax to take advantage of the forward and reverse functionality which is great. I have managed to get it into a basic working state but wondered if anyone had any tips to simplify my code or make it more efficient, I have included an fla of an early prototype.
I am using a Vcam which will be zooming in and out of a large canvas of images. I am creating a sequence of motion tweens, adding frame labels and tweening from each frame label with the use of right,left arrow keys and KeyboardEvent function. Although it works, I need to enter event listeners on each labelled key frame before moving onto the next sequence. I have around 100 camera animations I need so I am wondering if there is a more efficient way to control the left, right key event listeners on the whole timeline, regardless of what frame I am on. So, almost in effect it will just play to the next frame, or reverse to the previous frame when you press the keys regardless of what the frame label is.
Also, I am keen to use the motion tweens to control the easing and timing rather than TweenMax. If I use tweenmax, I need to define each tween on each labelled keyframe. Is there a way to set a default framerate to all tweens in TweenMax, as some motion tweens will need to be shorter than others in the finished presentation. So basically, if there is better ways to help me from having typing out the same code hundreds of times, I'd like to know!
I hope that makes sense, I haven't used flash/as3 for 3 years so very rusty!
any help much appreciated
thanks
Matt