2 Replies Latest reply on Dec 18, 2006 7:20 AM by psm9640

    variables within nested movie clip

    psm9640
      Hey there -- new to actionscript and having some issues...

      I have variables being loaded in the main timeline of my swf, and then I need these variables to appear within a movieclip inside that main timeline (an XML has to be dynamically called based upon an external variable).

      The problem is that the variable appears at the root level of the main timeline, but not within the movieclip. HELP! Example code...

      First frame of main timeline (this is set in the embed code with mymovie.swf?listID=99:

      newVar="quotes/quotes"+listID+".xml";

      Like I said -- this shows up fine in the main timeline when I use a dynamic text box to display it, but inside the movie clip, I just get "undefined".

      Thanks a bunch in advance and let me know if I need to give more info!

      -PM