0 Replies Latest reply on Dec 11, 2007 11:01 PM by SirajKhan

    Using External Libraries as SWF

    SirajKhan Level 1
      We are two developers, working on same FLA. We are using SVN/TortoiseSVN as a repository management tool.

      Problem & current work-around:
      End of the day, if one developer commits his FLA [with some new symbols or MoviClips] into SVN, there are no way to compare & determine thru SVN, that what all changes have been done. Ultimately we have to keep all over Library items into different folders and manually copy _myLocalLibraryFolder to library, taking the latest FLA. It is certainly not a good approach.

      Probable solution:
      Since we have divided different modules amongst us. We can have different [external] library files, which can be included into main ActionScript file.

      Problem with this approach:
      I tried with two approaches:
      1. Embed -- [Embed(source=" ConrolButtons.swf")]
      2. Thru loader class:
      var libLoader:Loader = new Loader();
      var libLoaderInfo:LoaderInfo = libLoader.contentLoaderInfo;
      libLoaderInfo.addEventListener(Event.COMPLETE, onLibLoaded);
      libLoader.load(new URLRequest("ConrolButtons.swf"));
      But in either of the cases it gives this Error:
      "1046: Type was not found or was not a compile-time constant" external swf