0

I want to code or open source file in as3   For example, to save the image in the stage in Flash and make it a background in desktop or background in phone Using the button thanks

1 Answers1

0

You can try use this extension, they have a demo (with some limitations, but works)

1- Download this extension here

2- Edit your AndroidManifest.xml and add this permission:

3- Try this code:

   //checking if extension is supported
   if (WallpaperManager.getInstance().isSupported())
   {
        var scale:Boolean;
        // default value is always false
        WallpaperManager.getInstance().setWallpaperFromPath(IMAGE_NATIVE_PATH, scale);
        // Pass native path of a image on device
   }

Thank you very much Explain to me the steps I am a novice in programming And any program I use to implement it

Bishan
  • 15,211
  • 52
  • 164
  • 258
gabriel
  • 2,351
  • 4
  • 20
  • 23