ActionScript 3.0 :: Playing Video In Desktop Application?
Feb 25, 2011
I'm trying to play two H.264 encoded videos (.mov) within an AS3 desktop application. I have tried publishing both Air and Projector but both are having (different) problems with playback. When testing the swfs within Flash they both work fine.I'm using a simple NetStream function to play the videos from a local directory. Like I said they both run fine within Flash, so I feel like I'm missing something obvious, but have found it difficult to find documentation on streaming locally.
The Air app works best, but can't seem to play the second video. (I also have been having awful trouble getting around security issues of Air as I'm using LocalConnection in another part of the app, so would prefer not to use it).The projector starts playing both videos but very quickly starts to stutter and choke, and eventually freezes the entire app.The Adobe documentation says that it is possible to use NetStream locally, but maybe this isn't the case?
View 2 Replies
Similar Posts:
Aug 18, 2011
I am playing a flv video using the videoplayer class of flex. (all the properties of it are being set at runtime)I want to make the video fullscreen without clicking on the fullscreen button i.e. through programming.
View 1 Replies
Dec 6, 2011
How can I find out what the current application type is? i.e. whether it's running on a mobile device or as a desktop Air application?[code]...
View 4 Replies
Jan 4, 2010
i'm new to creating desktop applications. I've a working site in php with mysql support. I want to convert this site into a desktop application. Is Adobe AIR or Adobe Flex better?can i use php as such in both AIR and Flex? or should i convert them to xml or something which it uses?
View 3 Replies
Oct 15, 2009
I am writing a desktop application and trying to decide between using AIR (FLex) or Java.Some of the requirements for the application are: needing to securely connect to webservices and JMShave a very interactive UI (lots oflittle and big features)displaying videoCommunicate with a C++ applicationTo implement the web services and JMS for Flex we were thinking of using Merapi to communicate with a Java application. Does this mean we should probably go with Java or does the better graphics capabilities of Flex still make it a better choice?
View 5 Replies
Nov 2, 2010
Can Flex be used for a desktop application whose business logic is written using Java? Everything I've read about flex uses a remoting or http protocol to communicate with the backend via a J2EE server, so I'm not sure how that would work for a desktop app (unless an embedded j2ee server was running in the app).
View 4 Replies
Jan 3, 2012
I have been looking all over the internet and I can't find any good (or recent) example from a air application where an image (for example) is dragged from the desktop in the application.
The problem is that flashbuilder gives errors on:
import flash.desktop.DragActions;
import flash.desktop.TransferableData;
import flash.desktop.TransferableFormats;
import flash.desktop.DragManager;
(and this are only the errors at the import section)I know this last one can be replaced by mx.managers.DragManager, but this is another class since than I get errors on "DragManager.acceptDragDrop" for example...
View 1 Replies
Feb 10, 2012
I am trying to work out an approach to developing a desktop application that would play movies, games and various flash material such as flash games and flash flip books. The movies will be in both video format and swf format, and will need to be compressed and encrypted for transmission to users and decompressed/decrypted by our player so as not be viewable by other players. The installer would be platform / OS dependant.
The player / user interface would need to be written in a 'portable' language so it can be cross-complied to different platforms ( Windows, Linux/Android, Mac, Iphone/Ipad, ... ) If this is not possible than atleast it should work on the PC and MAC. The idea here is to ideally maintain one code base so the client will experience the same interface on each platform we support.
My questions are-
What would be the best approach to develop these applications?
Is it possible to acquire public / open source code where much of the work has already been done and then add my code to it?
If open source code is available where could I get it from?
View 1 Replies
Dec 3, 2007
I want to create a Desktop Application using Flash. how to create a executable Flash Application and how to connect the flash with database in a desktop Application.
View 1 Replies
Apr 6, 2010
For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?
- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )
- C#/Silverlight ?
View 5 Replies
Jul 26, 2010
I need to do click a button within the admin side of my external website and cause it to trigger an application within my local workstation (with parameters based on button). I have full control of the server, PHP, etc. I can also install any application on my workstation. What is the best way to do this? Adobe AIR/Flash? Java?
View 4 Replies
Sep 23, 2010
Has anyone got any experience will loading SWC / SWZ's at runtime within a Flex 4 / Air 2 desktop application?The very rough idea would be to have a desktop Air app, which is able to "download" additional modules (eg, a SWZ/RSL representing a form) and load these at runtime?
Imagine the App is configured using an XML file obtained over the net. When this has instruction to get a new module (SWZ/RSL), the app will download the module to its App Storage folder, and instanciate it at runtime?The Flex Manual seems to indicate this is possible, but is talking web rather than desktop http:[url]....
View 2 Replies
Oct 15, 2010
I'm currently in the planning/early building phase of a desktop flex application that will be communicating to a Zend Application on a web server.The flex app will basically be like a layout/view in terms of the MVC pattern, it will make requests to various controller actions and display the data returned in a meaningful way, and post data that will update various data in the database on the server. Basically what I'm wondering is what the best way is to go about building a login system for the desktop application.I can't use the regular channels that you would if your users were accessing the application via a browser, so I was thinking I would do this:
Flex app posts login details (email, password) to a login action.The login action uses Zend Auth to check if the details are valid.The login action creates a unique hash (and stores it in the db somewhere along with the user's id) and returns a json object containing the hash along with the user's id to the flex app.Whenever the flex app makes requests to any action in the web app, it also sends along the user's id and the unique hash so the web app can verify the user.
View 2 Replies
Jan 18, 2011
I recently got flex builder 3, and it seems to be a really cool IDE.
View 4 Replies
Sep 23, 2011
I'm building an AIR desktop app with facebook support using Adobe Flash builder. So far it's working alright, except for one detail, once a user logs in, that session stays open, even if the logout button is pressed. My logout code look like so:
protected function logout():void {
FacebookDesktop.logout(handleLogout, APP_ORIGIN);
}
I set APP_ORIGIN to "[URL]". I checked Adobe's documentation and they say: appOrigin:String (default = null) ” (Optional) The site url specified for your app. Required for clearing html window cookie. But I don't know what that means, what is the 'site url specified by my app'? Where do I get it? Sorry if this is a noob question.
View 1 Replies
Feb 10, 2012
i want to know if it is possible to create GUI for java desktop based application in Adobe FLEX.
or any other powerful framework to make rich GUI interfaces for Java desktop applications.
View 1 Replies
Jun 28, 2010
For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )
View 13 Replies
Nov 2, 2010
I want to know if I can make a flash desktop application Depends on mySQL database or any database , but without need to php code or server , I want the application to work as a desktop application.
View 2 Replies
Nov 13, 2008
How do I script to connect /send a signal to the COM port of the PC from a Desktop Flash application. The Signals can be variables such as "1/2/3/4" . The signals will be send on a corresponding click in the flash application. For eg: if I click button "A" in the Flash application, it sends a signal "1" to the COM Port. If I click the Button"B", it send the signal"2" to the COM Port.
View 1 Replies
Jun 10, 2011
I have a flash application. One of the options is to copy a pdf onto the users desktop, but I can not seem to get it to work. I am writing a flash application that sends "fscommands" out to batch files. This is what my batch file looks like:---------------------------------------------------------------------- ---------------------------------------@ echo off copy ../Application/pdf/Ebook.pdf %userprofile%Desktop exit---------------------------------------------------------------------- -----------------------My intent is to copy the specified file to the user's desktop. So far it does not function.
View 1 Replies
Mar 1, 2012
I need a back button functionality in my Desktop application in flash, in my app there is lots of page including home page, I am able to go back at one level but how can I do this at number of level, What logic I should implement to maintain the back page at number of level.
View 2 Replies
Jan 31, 2010
I am going to be utilizing a flash/jquery powered gallery on a webpage that is maintained and updated with an xml document. The xml data is used to add and sort images into a grid of small thumbnail images. i will customize this component so that when the user rolls over a thumbnail it will trigger jquery to replace a div using hide/show. My employer would like to try to create an adobe air desktop widget that will mirror the content of this gallery so that as entries are added to the site users can access the content automatically via the desktop. I was thinking there may be a way to utilize the same xml document to maintain the app as well as the gallery. As there is a fairly tight turn around on this project, i was wondering if anyone could confirm that adobe air apps can be maintained in this way, or how to approach this particular client request.
View 1 Replies
Nov 7, 2011
I have a mx:html component in a AIR Desktop Application that load an external webpage into it...this webpage has an iframe in it and the iframe load (obviously) another page...I can't figure out how to get the code of the iframe...If I try to get the webpage content I only retrive the start page like:
File webpage.html
<html>
....
<iframe src="http://host/framepage.html">content default</iframe>
....
[code]...
It's like as the second page is not loaded, but it's actually be loaded and rendered in the browser window (i tried also using a button so I can delay the search for the iframe content.
View 1 Replies
Jan 17, 2011
I've a flash facebook application, i can take the session info from flash client and send the session information to server.
I need to check if the user connected to the server via facebook application or not. That's why i need to get the user's session from facebook page directly by my server.
How can i do it? I use C# for all database and communication system. Flash interface does only application responsibilities.
View 1 Replies
Aug 9, 2011
How can I embed a adobe flash player inside a java based desktop application? Can I be able to load and run an on-line flash game in it?
View 1 Replies
Jun 11, 2010
I am making my exe fullscreen using stage.displayState = StageDisplayState.FULL_SCREEN but it shows blank screen. When I press Esc key and back to normal screen everything is fine.
View 1 Replies
Feb 9, 2010
In Python there is a function: os.system(command) that runs the command passed by parameter in the command line, there is something similar in AS3 (or MXML) running an Adobe AIR Desktop Application?
View 1 Replies
Dec 12, 2011
I'm building a mobile AIR application that connects to my desktop AIR application. In the mobile application, I'm recording video with my Android device with flash.media.CameraUI. This works perfectly, but now I'd like to send this file to my desktop application so I can do stuff with it. I've got a server written in AS3 running on my desktop (the application itself) listening to AMF messages on a certain port. I can send data through sockets, I've already tested it with accelerometer data, so that's not the issue.
What would be the best way to send video to my desktop AIR app? I've tried multiple things already; serializing using registerClassAlias, ByteArrays.
View 2 Replies
Apr 29, 2010
how can we create a application that can capture screen in the form of video with voice or sound.how can it possible in flex their is no problem if we take help from java,red5 or fms or any other tool of adobe.
View 1 Replies
Aug 7, 2009
I am loading an external SWF file into my main timeline. The external SWF file contains an FLV video. At a certain point in my main timeline, the SWF file loads and plays the video. Is there a way to say...
If the VIDEO (FLV) is done playing, gotoAndPlay(X)?
View 4 Replies