1 Reply Latest reply on Feb 24, 2009 8:18 AM by flexstone

    Problems loading one swf into another

    SiHoop Level 1
      When I try to load one swf into another swf I get the following error message when I interact with components that are part of the loaded swf. TypeError: Error #1009:
      When looking for a fix I came across a solution that said the problem was caused by the components not having enough time to load and that I should add the following in my main application file:
      import mx.managers.DragManager;
      var dm:DragManager;
      My problem is that when I add the code to a class file in Flash, Flash doesn't recognize the class.
      1172: Definition mx.managers:DragManager could not be found.

      I can use the code in Flex, but not in Flash. Why not and is there a way to use the class in Flash?