Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem saving picture in phone

Explorer ,
Jul 15, 2018 Jul 15, 2018

Problem saving picture in phone

2018-07-15_11-37-14.jpg

var imgFile: URLRequest;
var img: MovieClip;
var imgLoader: Loader;
var file: FileReference;
import flash.display.MovieClip;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.*;


save_mc.addEventListener(MouseEvent.CLICK, ImageSave);
var transparent: Boolean = true;
var fillColor: Number = 0x00FFFFFF;
function ImageSave(image: MouseEvent): void
{

newwind.visible = true;
newwind.play();
var myBitmapData: BitmapData = new BitmapData(flashmo_pic.getChildAt(0)
  .width, flashmo_pic.getChildAt(0)
  .height);


myBitmapData.draw(flashmo_pic.getChildAt(0));

var jpgEncoder: JPGEncoder = new JPGEncoder();
var imgByteData: ByteArray = jpgEncoder.encode(myBitmapData);
file = new FileReference();
var fileReference: FileReference = new FileReference();
file.save(imgByteData, "ss.jpg");

}

2018-07-15_11-39-06.jpg

238
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 16, 2018 Jul 16, 2018

Welcome where geniuses and programmers ???

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Jul 18, 2018 Jul 18, 2018
LATEST

Hi there,

Can you please elaborate this issue a little more?

Are you unable to export a movieclip to phone?

Thanks,

Ankush

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines