Flex :: Adobe Air Local FLV Playback?
Jul 22, 2009
I'd like to distribute FLV files from my website, however I want a level of DRM control over the files. So far, I've been able to modify the FLV files to contain a 60 character ID at the very front of the file, but I can't figure out how to get AIR to extract the ID and therefore play the file. All I can figure out is using NetStream, but that won't let me skip 60 bytes, and so it thinks the FLV is invalid.
View 1 Replies
Similar Posts:
Aug 17, 2011
I have made a application that plays videos that are stored in a assets folder of the air application but when ever I run it on an hp slate the videos are really choppy. Is there a way to preload the video or does it have to do with the processing power? the videos are 1.72mb or smaller. They are flv format and they auto play when that application is started. I am using flash builder.
View 1 Replies
Jul 14, 2009
Suppose you have an encrypted video file and the associated AES key. Is it possible to play that video in a flex AIR application without saving the decrypted version of the file? How?
View 3 Replies
Apr 16, 2011
For example, in local network, when Adobe Air is reading files from local server (\Serverstorage) and network will be in down for a second, Air becomes eat a lot of memory and it is increasing up to 1GB (while normal memory use is 100 kb or less).Just reading file with File('file path on local server'); from unstable network can cause this error.
Have anybody seen that in projects?
private function init() : void
{
file = new File("\Serverdragracing
[code].....
View 1 Replies
Jan 5, 2011
I'm trying to access local file system from Flex web application. I know it is pretty difficult, but I think there must be a way. Is there a way that Flex app can use AIR components or maybe web application can call some AIR module in order to choose files and upload?
View 2 Replies
Apr 19, 2011
I want to show a local html file into my application but I could't find to do that.
I used <mx:HTML> component with using its location property but it is not working when I try to do it with a local file which is in applicationdirectory.
EDIT: Here is my code :
<fx:Script>
<![CDATA[
private function init():void {
[Code].....
View 2 Replies
Aug 27, 2009
How would I go about checking this setting on a loaded SWF file? For example, I have parent swf A, loading child Swf B. Once swf B is loaded into child A, how do I check child B's local security setting property?
View 1 Replies
Oct 15, 2010
Building a flash file for local playback and it contains some animations that I insert as .FLVs. It is set to play full-screen, but when it does, the video gets all jaggy. Is there a smoothing function for video like there is for jpegs? Or any suggestions for another way to approach this?
View 0 Replies
Aug 18, 2009
I used a fantastic XML video tutorial from this site -http:[url]...in a school project here - http:[url].....When I test the site on my local machine everything works fine,but, when I upload it to a web server , clicking on the thumbnails to change the video does not work - except for the first page of videos.
View 1 Replies
Jan 17, 2012
I currently creating a standalone language learning application using Flash Professional 8. The application allow users to record and playback their own pronunciation, so that they can compare their own pronunciation with the pronunciation provided in the application for learning. how can I save and playback recorded voice on local computer
View 2 Replies
Dec 14, 2010
I'm using external actionscript files located in the root of my webfolder, but I also want to communicate with another website.
How should I set my Local playback in publish settings? Access Local Only? or Access Network Only?
View 1 Replies
Mar 9, 2012
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?
View 1 Replies
Nov 12, 2010
I can read an image from hard drive and get a ByteArray from its source. Is there any way to store those bytes in local SQL database? What datatype for this field I need to choose?Or maybe there is a more clever way to save an Image file itself into AIR SQL?..
View 1 Replies
Feb 28, 2011
I'm looking at writing an app with Adobe AIR, but I wanted to figure out if this is feasible with the platform first. (Mostly new to Flash and AIR).What I would like to do is know ahead of time what local port a URLRequest will be using. If possible, I would like to hold a connection open even and keep using the same socket.What I'm basically trying to accomplish is doing some NAT-Traversal and port negotiation ahead of time. Once I have both the client and the server negotiated, I'd like them to connect and basically use HTTP in a peer-to-peer way to stream media, like this sample:
var s = new air.Sound();
var url = "http://www.example.com/sounds/bigSound.mp3";
var req = new air.URLRequest(url); [code].........
The problem is that I don't see this happening unless I can get some information from AIR on what ports it's planning to use. I would be OK with creating my own Socket connections to the server and using them, but I would need a way to leverage the Sound framework to stream in the same way from a socket.
View 1 Replies
Sep 9, 2011
I'ld like to save variables to an Encrypted Local Store. This example is working but how can I extend it to save more than 1 variable?
[Code]....
View 1 Replies
Oct 12, 2011
Does anyone know a good library to unzip local files in adobe AIR for with actionscript 3? I have: A local file named somefile.zip I need:To give some external library a path where I want to save the unzipped version of file.It must be able to process the file and not load it all into the memory.I found the FZip library - but it loads all archived data into the memory.And also found the nochump library, but there is no such parameter to choose where I want to unzip the file.
View 1 Replies
Oct 27, 2011
We are a research group from the University of Zaragoza (Spain). We are developing educational games for children with special needs, (in particular, with)social and cognitive disabilities. We develop our games with Adobe Flash CS5, so we are enough handy with Action Script language.The emerged problem is related with the security sandboxes in Flash.
At the moment, we are designing a new educative application where image and sound resources come from the Internet, using web services through a "loader.load(new URLRequest(name))" command. We are using the adequate crossdomain file, and it is working fine when published on the web.HOWEVER, now we are thinking on developing a desktop educative application, where educators will configure the game, and keep their work in a local system file. This is where problems arise. As the Flash player sandboxes limits us to "only network", or "only local file system" use, we are not able to access the Internet and to generate local files at the same time.
We are not trying to make a flash virus, we are only trying to make an application for educators, where resources came from the Internet but the application requires access to local file system in order to let educators to save and to load their work in their disk.Reading the Adobe doc, we found the different flash player sandboxes: http:[url]....
It seems that there is a sandbox which enables us to both access internet and local files:"Security.LOCAL_TRUSTED—The SWF file is a local file and has been trusted by the user, using either the Settings Manager or a Flash Player trust configuration file. The SWF file can both read from local data sources and communicate with the Internet." And it seems that Local_trusted SWF files are set by the final user or by installer programs. As we intend to publish the application on the web, and educators will download the application, the installer programs seems a nice option, but we are not able to find info about SWF installer programs.
On the other hand, we know about the Adobe Air solution. We understand that AIR is a substitute to Flash Player. It seems adequate as it will expand our application to other environments like android IOS (tablets, mobiles, ...).The question is: using AIR, would we gain network and local access in our SWF application? And what about the final user? Would he/she be able to download the SWF from our web, and any kind of AIR player and executing our application in an easy way on the device? Finally, what do you think is the best solution for the kind of application we are aiming to?
View 1 Replies
Mar 21, 2011
Multiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
View 2 Replies
Feb 17, 2011
I'd like my application to be pretty light so it loads quickly. So i'd like to place all my assets (XML files, graphics, etc) outside from the main Air file and when the main Air file is loaded into memory, I'd like it to load in the asset files at runtimeSo how do I go about telling Flash builder to save my asset files locally when it packages my Air Application and also ensure I can access these files while debudding my application?
View 2 Replies
Sep 1, 2011
in the standard embed code:
[Code].....
the player "FlashMediaPlayback" is loaded from remote ftp adobe server.
How can I load the player from my local machine?
View 1 Replies
Aug 20, 2011
I am developing flash p2p chat. It works fine on my friends' computers (they can chat each other), but not on mine. The problem is that I have local network at home, and I think that Flash Player tries to make p2p requests to peers inside my local network.Can I check if user have local network in AS3 and up the level of network to the WWW?
View 1 Replies
Jul 4, 2010
I'm trying to load a local xml file:
xmlLoader.load(new URLRequest("../xml/xmlData.xml"));
But I'm getting this security sandbox violation:
#2148: Only local-with-filesystem and trusted local SWF files may access local resources.
I don't get this error when I embed the XML file directly with the EMBED metadata tag.
View 3 Replies
Feb 12, 2010
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
View 1 Replies
Aug 4, 2009
We are streaming live events encoding using H.264, so therefore we have to save the file as a .f4v. However, whenever I try to play the file, I keep getting a "playback failed" in Adobe Media Player. What could I be missing? Is there anything else I need to do in Flash Media Live Encoder?
View 3 Replies
Aug 17, 2010
I am writing a Flex application for use on a private intranet with no external Internet access. I want to use Google's 3D Maps Flex API, but it must be connected to the internet to download map tiles on demand.
Is there a way to locally cache the 3D map tiles and data so that I can run this app without an internet connection? And if not, is there a 3D GIS that supports Flex integration and allows for a local map cache?
View 1 Replies
Jan 11, 2010
I have a situation where I need my swf to load from a domain. Currently my flex set up always loads a SWF from file [URL]...
View 1 Replies
Apr 12, 2010
I am creating a Flex application for intranet use.I need the application to execute files, with different file types (txt, emails, etc.) at specific known locations on the clients computer.Is it possible to give permissions to the Flex application to execute local files? (I have administrative rights on the clients computer)
View 1 Replies
Oct 18, 2011
I have a quite different problem with resizing. I have a Flexbook component which uses the middle part of screen (center) with a html header menu and footer. The problem: The scaling works perfectly when we run in the local machine ( Flexbuilder). But when we deploy it to the server its like scaling never existed.. The requirement: when user maximizes the window or minimizes it, the Flexbook should be resized to fit the screen.
[Code]....
View 1 Replies
Jun 27, 2010
I want to add a simple audio control (play/pause/seek/volume) control to my flex application.
View 1 Replies
Aug 9, 2010
I'm writing a flex app, which must record an audio and then playback. It records just fine, I can hear the flv on the server, but when it comes to the playback it cuts the end a little bit, and each time I ask to reproduce again it cuts a little bit more. I guess it's something related to buffer management, but I don't know exactly.
Here's the code I'm using to playback. It is called from a mediator:
var streamPlayClient:Object = new Object();
this.stream.client = streamPlayClient;
streamPlayClient.onPlayStatus = function(infoObject:Object):void {
if (infoObject.code == "NetStream.Buffer.Flush") {
stopPlayback();
}} this.stream.play("flv:" + this.streamName);
View 1 Replies