0 Replies Latest reply on Mar 23, 2007 8:37 AM by andrew76rocks

    Loading Flash Library items into Flex Question

    andrew76rocks
      Ok i figured out that i can do this to load in and add a flash library item to a Flex control.

      <mx:Image source="@Embed('packages/MyLibrary.swf#LibraryItemOne)">
      <mx:Image source="@Embed('packages/MyLibrary.swf#LibraryItemTwo)">

      Question is - does the above code actually load the entire swf EACH time the source is called or does flex load it in the first time and then any later calls to this source file are to the swf file in cache? Basically i only want to load the swf in the first time and then reference the library items after that.