I'm working on an animation where I am using arrows (an arrow-like shape with a gradient fill) to represent airflow in an engine. I can get these arrows to move along a linear path, but it gets difficult when I start to animate around corners because the condition where an arrow will bend around a corner varies according to the state-flow conditions during runtime. I wrote a routine to draw these arrows using a combination of arcs, lines and fills, but it seems to be eating lots of CPU. I'm hoping that the tweening engine for Flash MX is alot more efficient, and I have some data to support that assumption. However, I have not been able to locate any references on how to tween between two images in a private timeline.
Also, I'm having another issue with these arrows. I would like to visualize heat transfer by showing wavy arrows move across a medium while changing color. I'm able to get the entire arrow to change color by modifying its alpha, but I would like to create a masking effect where a "cooler" (bluer) part of the arrow is revealed as it passes across the medium. Is there a common strategy for creating this effect? Should I just create an arrow with a mask, and then resize the mask with scripting? Suggestions?
Thanks!
Also, I'm having another issue with these arrows. I would like to visualize heat transfer by showing wavy arrows move across a medium while changing color. I'm able to get the entire arrow to change color by modifying its alpha, but I would like to create a masking effect where a "cooler" (bluer) part of the arrow is revealed as it passes across the medium. Is there a common strategy for creating this effect? Should I just create an arrow with a mask, and then resize the mask with scripting? Suggestions?
Thanks!