2 Replies Latest reply on Mar 23, 2007 12:12 PM by MasterBetaMaster

    load content (jpg, swf, etc) but not onto stage

    DZ-015 Level 1
      I'm familiar with the typical syntax to load a piece of external content into a movie clip... but is there a way to load an external clip to somewhere off stage so you can use it later? For instance - load a JPG so it becomes an asset with a linkage ID?

      thanks!
        • 1. Re: load content (jpg, swf, etc) but not onto stage
          Level 7
          DZ,
          Load it into a movie clip just the same as you would with any content. But,
          set its visibility to false. Then, set its visibility to true as you need
          it.

          placeHolder._visible = false.
          placeHolder.load(myJPG.jpg)


          --

          Dan Mode
          --> Adobe Community Expert
          *Flash Helps* http://www.smithmediafusion.com/blog/?cat=11
          *THE online Radio* http://www.tornadostream.com <--check this

          *Must Read* http://www.smithmediafusion.com/blog


          "DZ-015" <webforumsuser@macromedia.com> wrote in message
          news:eu13st$jio$1@forums.macromedia.com...
          > I'm familiar with the typical syntax to load a piece of external content
          > into a
          > movie clip... but is there a way to load an external clip to somewhere off
          > stage so you can use it later? For instance - load a JPG so it becomes an
          > asset with a linkage ID?
          >
          > thanks!
          >


          • 2. Re: load content (jpg, swf, etc) but not onto stage
            MasterBetaMaster
            Have You already tried clicking on File then hover on Import then click on Import to Library? After it's imported and in the library, one can also right click on the imported object, select Properties, -there is a button that selects Advanced/Basic- Advanced gives Linkage options, or one could just click linkage after the File is Imported to the Library.
            Again top left of Flash, where it says File, Edit, Insert, Modify, Text, Commands, Control, Window, Help, Click on File Import-Import to Library.
            Id like to know how to do variable pre-loading. Where I can have thing load in stages, Even be able to keyframe in the time-line when to start pulling the big files in, for .this scene and/or better for other scenes.