I am helping to build a video based website. My client wants the website to be viewable on ipads/iphones. Therefore, I absolutely can not require the flash viewer.
One of my developers wants to use AS3 for scripting special features in our player. If AS3 scripting is used, does that mean my users must have the flash plugin?
Thanks!
If it's just about playing videos, then html5 based option would be great. But if the requirement is more complicated and the developer is more comfortable with AS3, then you can have an AIR app re-packaged as iOS app (that's a supported workflow from Adobe).
Yes, the users would have to have the Flash Player installed to view an AS3 flash file (.swf).
But your developers might implement an html5 alternative of the video player for iOS that doesn't require flash (which probably will be missing some of those special features) so the website might still be viewable on iOS devices.
My advice would be to simply ask them if it will work on iPad and iPhone :-)
Related
Is it possible to control camera exposure compensation from ActionScript?
it is! Therefore you need to use a ANE (Adobe Native Extension).
I found one for iOS here https://code.google.com/p/diadraw-air-camera-native-extension/ and maybe this https://github.com/freshplanet/ANE-ImagePicker (supperts iOS and Android) serves for your purpose as well.
Cheers
As far as I'm aware this sort of finer hardware control needs more access to the camera than flash plugin in a web page will have.
You'd be able to do it with a native extension in an AIR application but not with the flash plugin. Though I haven't seen any for desktop cameras, I imagine the hardware is even more variable than Android and would be a big endeavour. Definitely are a few around for Android/iOS (diadraw and I've done one myself for http://distriqt.com/native-extensions#camera).
But for the flash plugin I think you'll be limited to the controls in flash.media.Camera.
I was just wondering if anyone had any ideas on how to read the music library on an iPhone from an AS3 Air application?
Would it require an Adobe Native Extension, or is there a easier way to achieve this?
Ideally what I'd like to do is just popup the phone's music player, to allow users to pick either a track, album or playist, and then return those songs to my app to add to my own playlist.
(Also, possibly a separate question entirely, I will need to do this for Android, Windows and Mac too, if anyone has any useful tips on the most efficient way to approach this across all these platforms, it'd be hugely appreciated).
Thanks in advance, Ted
To access nearly anything on the native side of iOS or Android, save for the Camera Roll, Camera, WebView, and Video, you need an AIR Native Extension to do it.
For accessing audio from the device's library, you can use the SongPicker ANE, which allows you to play tracks in the device's library and access basic metadata, although it won't give you access to the song data itself.
Hi there...
I am having a query about how to publish in HTML5 format through flash.
I have a .fla file containg animation and Actionscript 3.0, when i publish it to HTML, it ask to download flash player in browser. But it is not necessary to have flash player in the browser while loading the .html file. So plaease guide me for the issue.
Thanks in Advance..
You're misunderstanding what the menu means by publish to HTML. This is simply publishing a SWF file and a corresponding HTML file that has HTML code to embed the SWF. This is not a cross compilation option. Those exist but that's not what you get in Flash CS5 by default.
If you're interested in Cross Compilation from AS3 to HTML/JS you can check out Randori and also projects like FalconJS:
http://blogs.adobe.com/bparadie/2011/11/19/what-is-falconjs/
I saw a talk about both of these recently in Chicago by some of the developers. They both seem like promising concepts (basically dodging the flash player).
The other option if you're trying to develop for mobile deployment is to package your code as an air installer. This will run your code on top of the AIR runtime (which has support on tons of devices, iOS, Android, Blackberry etc.), but this is not an in the browser experience, but rather a download the app type deal.
From what I got from the two developers (one from Apache Flex, one the creator of Randori) neither wanted to put too much trust into Adobe's platform given it's no longer supported on most mobile devices.
As an aside Adobe also has a product called Edge that allows you to do animation with a similar tool-set to what you get in Flash and exports HTML/JS/CSS. If you're not interested in AS3 or object oriented programming or type-safe languages cross compiling might not be the best option. I've personally been playing with AngularJS lately and been liking it due to the parallels with Flex, but there's a lot of great scripts/libraries/frameworks out there, if you explain a bit more of what you're trying to accomplish I can give more directed guidance.
is there any way to do a flash-like animation for the splash screen for iPad app in HTML5.
i have searched a lot for javascript but did not get anything.
The usual alternatives to Flash animation are canvas (which has its own API) and SVG (which is subject to standard DOM manipulation), both of which are supported by iOS Mobile Safari.
Adobe is developing an HTML/Javascript/CSS based alternative to Flash Builder called Adobe Edge, you can download it for free for a limited time for Adobe Labs. It doesn't have nearly as many features as Flash(at least not yet), but it provides enough basic functionality to accomplish what you are asking.
I have videos with DRM using flash Access. I would like to be able to play these videos on mobile devices using Air when offline. It is possible to play streaming DRM content on mobile devices but I'm unsure how to save a voucher for offline playback. Since DRMManager is not included in Air Mobile, is this possible and how would it be done?
If DRMManager is not available in the mobile runtime then there is no way to use it, simple as that. Welcome to the perils of coding in a scripting language, that is, being bound to the whims of the people who control the runtime source code.