0 Replies Latest reply on Oct 11, 2013 7:53 PM by LydiaPiglet

    How to use loadercontext for splashScreenImage and how store 2 item as 1 image in camera roll?


      I understand that for air 3.6+, I MUST declare a loadercontext, may i know if I want a swf for mobile splash screen, how do i achieve it?


      var loader:Loader= new Loader();

      var lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);

      loader.load(new URLRequest("something.swf"),_lc);


      after which in splashScreenImage="", what should i put?


      Qs 2 : I was playing around with the cameraroll.


      var bitmapData:BitmapData = new BitmapData();



                                              if (CameraRoll.supportsAddBitmapData)  


                                                        var cameraroll:CameraRoll = new CameraRoll();




        <s:Label id="1"/>


      Imagine I have another

        <s:Label id="2"/>

      How to store 2 together as 1 image?
      i tried bitmapData.draw(1,2) , bitmapData.draw(1),(2);

      There's error


      kindly enlighten me.
      Thank you.