1 Reply Latest reply on Jun 13, 2007 7:18 PM by SymTsb

    Hello World

    theduck004
      I am very new to Flash. I have about a week of experience. I would like to know how to create a function library.

      I put the following code into a standard text file named mylib.as

      function helloworld()
      {
      trace("hello world");
      }

      created a new flash project named test.fla

      code in frame 1 layer 1
      #include "mylib.as"
      helloworld();

      wow. it works. However, what is the preferred method of sharing code across flash .fla and .swf files?? How do I create my own function libraries and include them in my .fla projects??

      Thanks