worwood
05-11-2004, 08:57 AM
I was wondering if you could help me as my brain hurts from thinking this over too much and scouring books and sites :rolleyes:
is there anything i could add to this code to make movieclip2 start directly above movieclip1 (and them movie clip3 above movieclip2 etc.) no matter what value is put into the input text fields (movieData1 etc.)
_root.movieclip1._yscale = 0;
_root.movieclip2._yscale = 0;
_root.movieclip3._yscale = 0;
_root.movieclip4._yscale = 0;
_root.makeChart.onPress = function() {
_root.movieclip1._yscale = _root.movie1Data.text;
_root.movieclip2._yscale = _root.movie2Data.text;
_root.movieclip3._yscale = _root.movie3Data.text;
_root.movieclip4._yscale = _root.movie4Data.text;
};
is there anything i could add to this code to make movieclip2 start directly above movieclip1 (and them movie clip3 above movieclip2 etc.) no matter what value is put into the input text fields (movieData1 etc.)
_root.movieclip1._yscale = 0;
_root.movieclip2._yscale = 0;
_root.movieclip3._yscale = 0;
_root.movieclip4._yscale = 0;
_root.makeChart.onPress = function() {
_root.movieclip1._yscale = _root.movie1Data.text;
_root.movieclip2._yscale = _root.movie2Data.text;
_root.movieclip3._yscale = _root.movie3Data.text;
_root.movieclip4._yscale = _root.movie4Data.text;
};