2 Replies Latest reply on Mar 29, 2007 3:07 AM by torwalker

    Help with Loader component!

    manutdonline
      hi, i've got a Loader component on a swf i call holder.swf
      i am loading an external.swf in this loader

      i have a variable called music in holder.swf.

      is there any way for me to access the variable music that was defined in holder.swf, from the externally loaded external.swf?

      in code:

      basically i have in "holder.swf"

      onClipEvent (load) {
      _root.myLoader.contentPath = "external.swf";
      _global.music=5;
      }

      and in external.swf
      i am trying to do

      if(_root.music==5){
      do something;
      }