3 Replies Latest reply on Sep 7, 2007 1:47 PM by clbeech

    Attaching Movies

    cfortin14 Level 1

      I’m attaching movies (mcButton) to a “movie container” (mcMovieContainer). The attached movie has a Dynamic Text field to which I want to change the text, I’m using the code below but it is not working. I can attach the movies but I can’t change the text. How can I do that?

      btnAdd.onRelease = function() {

      mcMovieContainer.attachMovie("mcButton", "mcButton"+i, mcMovieContainer.getNextHighestDepth(), {_y:50*i+5, _x:5});

      mcMovieContainer.mcButton[ i ].txtCaption.text = "Caption Text Here"



      Thank you in advanced,