1 Reply Latest reply on Jul 23, 2007 11:39 PM by Jay-Rad

    Tween Problem - Can Anyone help

      I have two loaded movies loaded into a main movie. I would like to perform an action in one movie by hitting a button in the other. Here is the basic setup

      var mc_location = _level0.movie_1.my_mc;

      import mx.transitions.Tween;
      import mx.transitions.easing.*;

      btn1.onPress = function() {
      new Tween(mc_location, "_alpha", Strong.easeOut, 100, 50, 15, false);

      This is the basic setup where I am having a problem. There is a lot of other code and I would like to store all of it in an actionscript file for future editing. So I need to store the mc location in a variable. I have tried also to put the variable in quotes, so it reads like a string, but then the tween won't read it, even though a trace will. Any ideas.

      Thanks, J-Rad