Tag: 闪光cs5

Flash CS5.5:使用iPhone上的CameraUI捕捉照片时,照片会旋转

请帮助,我已经成功地通过iPhone的相机访问和捕捉照片。 但问题是,当我通过“loadFilePromise”加载它,照片旋转方向错误。 import flash.media.CameraUI; import flash.media.MediaType; import flash.media.MediaPromise; import flash.events.MediaEvent; import flash.events.Event; import flash.events.MouseEvent; import flash.display.Loader; import flash.display.Bitmap; import flash.media.CameraRoll; import flash.display.StageOrientation; import flash.events.StageOrientationEvent; import flash.media.Camera; import flash.media.Video; var currentOrientation:String = ""; var cam:CameraUI = new CameraUI(); cam.addEventListener(MediaEvent.COMPLETE, captured); cam.addEventListener(Event.CANCEL, cancelled); var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, photoLoaded); addChild(loader); captureBtn.addEventListener(MouseEvent.MOUSE_UP, pressed); function pressed(e:MouseEvent){ if(CameraUI.isSupported){ cam.launch(MediaType.IMAGE); […]

从SWF到AIR到iOS应用程序

我有现有的Flash应用程序,它编译为SWF并运行在Web上。 我正在考虑将该应用程序转换为在iPhone / iPad等移动设备上工作。 我发现现在有一种方法可以在移动设备上发布Adobe Air应用程序 。 我的想法是,为什么不将SWF转换为AIR应用程序 ,然后使用该AIR应用程序在移动设备上发布。 是否有意义? 这甚至可能或可行吗? 人们在做什么来将现有的Flash SWF应用程序转换为在移动设备上工作?