Hi
Hope someone can help me because it’s starting to get me angry! Attached is a basic layout of my .fla to help you understand my problem.
I’m loading text (“Red”, “Green”, “Blue”, “Yellow”) from an external XML doc into texboxes 1-4 which is working fine…no problems there. Lets say “Red” gets loaded into textbox3, I want the red box to tween to the same coordinates as container3 but if “Red” is in textbox2 I want it to tween to the same coordinates as container2 etc etc. I’ve been using the below section of code to tween using AS but its not really dynamic enough for me to use how I want.
var mc1 = redbox;
var y = redbox._y
var x = redbox._x
TweenA = new mx.transitions.Tween(mc1, "_y", easeType, y, 61.5, 100);
TweenB = new mx.transitions.Tween(mc1, "_x", easeType, x, 60, 100);
Can someone help me with this?