3 Replies Latest reply on Jun 28, 2007 2:01 PM by kglad

    Global Varible

    WebmastaDj Level 1
      Ok, I created an varible.as file as follows:

      package {
      public class glo {
      public static var ConnectionSpeed:String;
      ConnectionSpeed = "Hello World";
      }
      }

      Now, I have a .fla file, and set the "actionscript 3 settings" on the publish settings...underclass path, I added: varible.as Not sure if I needed to that or not.

      Now the problem is, I can't access that varible from within the flash movie. I tried just referencing it with: glo.ConnectionSpeed and also with varible.glo.ConnectionSpeed and it does not work. Please Help.